13#ifndef NV_OnnxConfig_H
14#define NV_OnnxConfig_H
#define TENSORRTAPI
Definition: NvInferRuntimeCommon.h:54
#define TRT_DEPRECATED
Definition: NvInferRuntimeCommon.h:40
Configuration Manager Class.
Definition: NvOnnxConfig.h:42
virtual void setFullTextFileName(char const *fullTextFileName) noexcept=0
Set the File Name of the Network Description as a Text File, including the weights.
virtual char const * getTextFileName() const noexcept=0
Returns the File Name of the Network Description as a Text File.
virtual void addVerbosity() noexcept=0
Increase the Verbosity Level.
virtual nvinfer1::DataType getModelDtype() const noexcept=0
Get the Model Data Type.
virtual void setPrintLayerInfo(bool) noexcept=0
Set whether the layer information will be printed.
virtual void reduceVerbosity() noexcept=0
Reduce the Verbosity Level.
int32_t Verbosity
Defines Verbosity level.
Definition: NvOnnxConfig.h:49
virtual Verbosity getVerbosityLevel() const noexcept=0
Get the Verbosity Level.
virtual bool getPrintLayerInfo() const noexcept=0
Get whether the layer information will be printed.
virtual void setModelDtype(const nvinfer1::DataType) noexcept=0
Set the Model Data Type.
virtual void setVerbosityLevel(Verbosity) noexcept=0
Set to specific verbosity Level.
virtual ~IOnnxConfig() noexcept=default
virtual void setModelFileName(char const *onnxFilename) noexcept=0
Set the Model File Name.
virtual char const * getModelFileName() const noexcept=0
Get the Model FileName.
virtual char const * getFullTextFileName() const noexcept=0
Get the File Name of the Network Description as a Text File, including the weights.
virtual void setTextFileName(char const *textFileName) noexcept=0
Set the File Name of the Network Description as a Text File.
virtual TRT_DEPRECATED void destroy() noexcept=0
Destroy IOnnxConfig object.
The TensorRT API version 1 namespace.
DataType
The type of weights and tensors.
Definition: NvInferRuntimeCommon.h:117
The TensorRT ONNX parser API namespace.
Definition: NvOnnxConfig.h:19
IOnnxConfig * createONNXConfig()