Configuration Manager Class.
More...
#include <NvOnnxConfig.h>
Configuration Manager Class.
◆ Verbosity
◆ ~IOnnxConfig()
virtual nvonnxparser::IOnnxConfig::~IOnnxConfig |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ addVerbosity()
virtual void nvonnxparser::IOnnxConfig::addVerbosity |
( |
| ) |
|
|
pure virtualnoexcept |
Increase the Verbosity Level.
- Returns
- The Verbosity Level.
- See also
- reduceVerbosity(), setVerbosity(Verbosity)
◆ getFullTextFileName()
virtual char const * nvonnxparser::IOnnxConfig::getFullTextFileName |
( |
| ) |
const |
|
pure virtualnoexcept |
Get the File Name of the Network Description as a Text File, including the weights.
- Returns
- Return the name of the file containing the network description converted to a plain text, used for debugging purposes.
- See also
- setFullTextFilename()
◆ getModelDtype()
Get the Model Data Type.
- Returns
- the data type of the model.
- See also
- setModelDtype() and DataType
◆ getModelFileName()
virtual char const * nvonnxparser::IOnnxConfig::getModelFileName |
( |
| ) |
const |
|
pure virtualnoexcept |
Get the Model FileName.
- Returns
- Return the Model Filename, as a null-terminated C-style string.
- See also
- setModelFileName()
◆ getPrintLayerInfo()
virtual bool nvonnxparser::IOnnxConfig::getPrintLayerInfo |
( |
| ) |
const |
|
pure virtualnoexcept |
Get whether the layer information will be printed.
- Returns
- Returns whether the layer information will be printed.
- See also
- setPrintLayerInfo()
◆ getTextFileName()
virtual char const * nvonnxparser::IOnnxConfig::getTextFileName |
( |
| ) |
const |
|
pure virtualnoexcept |
Returns the File Name of the Network Description as a Text File.
- Returns
- Return the name of the file containing the network description converted to a plain text, used for debugging purposes.
- See also
- setTextFilename()
◆ getVerbosityLevel()
virtual Verbosity nvonnxparser::IOnnxConfig::getVerbosityLevel |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ reduceVerbosity()
virtual void nvonnxparser::IOnnxConfig::reduceVerbosity |
( |
| ) |
|
|
pure virtualnoexcept |
Reduce the Verbosity Level.
- See also
- addVerbosity(), setVerbosity(Verbosity)
◆ setFullTextFileName()
virtual void nvonnxparser::IOnnxConfig::setFullTextFileName |
( |
char const * |
fullTextFileName | ) |
|
|
pure virtualnoexcept |
Set the File Name of the Network Description as a Text File, including the weights.
This API allows setting a file name for the network description in plain text, equivalent of the ONNX protobuf.
This method copies the name string.
- Parameters
-
fullTextFileName | Name of the file. |
- See also
- getFullTextFilename()
◆ setModelDtype()
Set the Model Data Type.
Sets the Model DataType, one of the following: float -d 32 (default), half precision -d 16, and int8 -d 8 data types.
- See also
- getModelDtype()
◆ setModelFileName()
virtual void nvonnxparser::IOnnxConfig::setModelFileName |
( |
char const * |
onnxFilename | ) |
|
|
pure virtualnoexcept |
Set the Model File Name.
The Model File name contains the Network Description in ONNX pb format.
This method copies the name string.
- Parameters
-
- See also
- getModelFileName()
◆ setPrintLayerInfo()
virtual void nvonnxparser::IOnnxConfig::setPrintLayerInfo |
( |
bool |
| ) |
|
|
pure virtualnoexcept |
◆ setTextFileName()
virtual void nvonnxparser::IOnnxConfig::setTextFileName |
( |
char const * |
textFileName | ) |
|
|
pure virtualnoexcept |
Set the File Name of the Network Description as a Text File.
This API allows setting a file name for the network description in plain text, equivalent of the ONNX protobuf.
This method copies the name string.
- Parameters
-
textFileName | Name of the file. |
- See also
- getTextFilename()
◆ setVerbosityLevel()
virtual void nvonnxparser::IOnnxConfig::setVerbosityLevel |
( |
Verbosity |
| ) |
|
|
pure virtualnoexcept |
The documentation for this class was generated from the following file: