50 #ifndef NV_OnnxConfig_H 51 #define NV_OnnxConfig_H 170 virtual
void setTextFileName(const
char* textFileName) TRTNOEXCEPT = 0;
213 virtual
void destroy() TRTNOEXCEPT = 0;
DataType
The type of weights and tensors.
Definition: NvInferRuntimeCommon.h:162
virtual nvinfer1::DataType getModelDtype() const =0
Get the Model Data Type.
virtual void setTextFileName(const char *textFileName)=0
Set the File Name of the Network Description as a Text File.
virtual void setPrintLayerInfo(bool)=0
Set whether the layer information will be printed.
virtual Verbosity getVerbosityLevel() const =0
Get the Verbosity Level.
virtual void setVerbosityLevel(Verbosity)=0
Set to specific verbosity Level.
The TensorRT API version 1 namespace.
virtual void setModelDtype(const nvinfer1::DataType)=0
Set the Model Data Type.
virtual const char * getFullTextFileName() const =0
Get the File Name of the Network Description as a Text File, including the weights.
virtual void addVerbosity()=0
Increase the Verbosity Level.
virtual void destroy()=0
Destroy IOnnxConfig object.
virtual bool getPrintLayerInfo() const =0
Get whether the layer information will be printed.
Definition: NvOnnxConfig.h:55
virtual void setModelFileName(const char *onnxFilename)=0
Set the Model File Name.
int Verbosity
Defines Verbosity level.
Definition: NvOnnxConfig.h:88
virtual void setFullTextFileName(const char *fullTextFileName)=0
Set the File Name of the Network Description as a Text File, including the weights.
virtual void reduceVerbosity()=0
Decrease verbosity Level.
Configuration Manager Class.
Definition: NvOnnxConfig.h:78
virtual const char * getModelFileName() const =0
Get the Model FileName.
virtual const char * getTextFileName() const =0
Returns the File Name of the Network Description as a Text File.