Go to the documentation of this file.
50 #ifndef NV_OnnxConfig_H
51 #define NV_OnnxConfig_H
Configuration Manager Class.
Definition: NvOnnxConfig.h:78
virtual void setPrintLayerInfo(bool) noexcept=0
Set whether the layer information will be printed.
virtual TRT_DEPRECATED void destroy() noexcept=0
Destroy IOnnxConfig object.
virtual const char * getFullTextFileName() const noexcept=0
Get the File Name of the Network Description as a Text File, including the weights.
The TensorRT ONNX parser API namespace.
Definition: NvOnnxConfig.h:55
virtual const char * getModelFileName() const noexcept=0
Get the Model FileName.
int32_t Verbosity
Defines Verbosity level.
Definition: NvOnnxConfig.h:86
virtual void setTextFileName(const char *textFileName) noexcept=0
Set the File Name of the Network Description as a Text File.
virtual Verbosity getVerbosityLevel() const noexcept=0
Get the Verbosity Level.
virtual void reduceVerbosity() noexcept=0
Reduce the Verbosity Level.
virtual const char * getTextFileName() const noexcept=0
Returns the File Name of the Network Description as a Text File.
virtual bool getPrintLayerInfo() const noexcept=0
Get whether the layer information will be printed.
DataType
The type of weights and tensors.
Definition: NvInferRuntimeCommon.h:155
virtual void setVerbosityLevel(Verbosity) noexcept=0
Set to specific verbosity Level.
virtual void setModelDtype(const nvinfer1::DataType) noexcept=0
Set the Model Data Type.
virtual void setFullTextFileName(const char *fullTextFileName) noexcept=0
Set the File Name of the Network Description as a Text File, including the weights.
virtual void setModelFileName(const char *onnxFilename) noexcept=0
Set the Model File Name.
virtual void addVerbosity() noexcept=0
Increase the Verbosity Level.
virtual nvinfer1::DataType getModelDtype() const noexcept=0
Get the Model Data Type.
#define TRT_DEPRECATED
< Items that are marked as deprecated will be removed in a future release.
Definition: NvInferRuntimeCommon.h:76
Copyright © 2024 NVIDIA Corporation
Privacy Policy |
Manage My Privacy |
Do Not Sell or Share My Data |
Terms of Service |
Accessibility |
Corporate Policies |
Product Security |
Contact