Configuration Manager Class.
More...
#include <NvOnnxConfig.h>
|
typedef int | Verbosity |
| Defines Verbosity level.
|
|
Configuration Manager Class.
virtual void nvonnxparser::IOnnxConfig::addVerbosity |
( |
| ) |
|
|
pure virtual |
virtual const char* nvonnxparser::IOnnxConfig::getFullTextFileName |
( |
| ) |
const |
|
pure virtual |
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()
virtual const char* nvonnxparser::IOnnxConfig::getModelFileName |
( |
| ) |
const |
|
pure virtual |
Get the Model FileName.
- Returns
- Return the Model Filename, as a pointer to a NULL-terminated character sequence.
- See Also
- setModelFileName()
virtual bool nvonnxparser::IOnnxConfig::getPrintLayerInfo |
( |
| ) |
const |
|
pure virtual |
Get whether the layer information will be printed.
- Returns
- Returns whether the layer information will be printed.
- See Also
- setPrintLayerInfo()
virtual const char* nvonnxparser::IOnnxConfig::getTextFileName |
( |
| ) |
const |
|
pure virtual |
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()
virtual Verbosity nvonnxparser::IOnnxConfig::getVerbosityLevel |
( |
| ) |
const |
|
pure virtual |
virtual void nvonnxparser::IOnnxConfig::setFullTextFileName |
( |
const char * |
fullTextFileName | ) |
|
|
pure virtual |
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()
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()
virtual void nvonnxparser::IOnnxConfig::setModelFileName |
( |
const char * |
onnxFilename | ) |
|
|
pure virtual |
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()
virtual void nvonnxparser::IOnnxConfig::setPrintLayerInfo |
( |
bool |
| ) |
|
|
pure virtual |
virtual void nvonnxparser::IOnnxConfig::setTextFileName |
( |
const char * |
textFileName | ) |
|
|
pure virtual |
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()
The documentation for this class was generated from the following file: