TensorRT 8.6.1
|
The TensorRT ONNX parser API namespace. More...
Classes | |
class | IOnnxConfig |
Configuration Manager Class. More... | |
class | IParser |
an object for parsing ONNX models into a TensorRT network definition More... | |
class | IParserError |
an object containing information about an error More... | |
Typedefs | |
using | OnnxParserFlags = uint32_t |
Represents one or more OnnxParserFlag values using binary OR operations, e.g., 1U << OnnxParserFlag::kNATIVE_INSTANCENORM. More... | |
Enumerations | |
enum class | ErrorCode : int { kSUCCESS = 0 , kINTERNAL_ERROR = 1 , kMEM_ALLOC_FAILED = 2 , kMODEL_DESERIALIZE_FAILED = 3 , kINVALID_VALUE = 4 , kINVALID_GRAPH = 5 , kINVALID_NODE = 6 , kUNSUPPORTED_GRAPH = 7 , kUNSUPPORTED_NODE = 8 } |
The type of error that the parser may return. More... | |
enum class | OnnxParserFlag : int32_t { kNATIVE_INSTANCENORM = 0 } |
Functions | |
IOnnxConfig * | createONNXConfig () |
template<typename T > | |
constexpr int32_t | EnumMax () |
template<> | |
constexpr int32_t | EnumMax< ErrorCode > () |
template<> | |
constexpr int32_t | EnumMax< OnnxParserFlag > () |
The TensorRT ONNX parser API namespace.
using nvonnxparser::OnnxParserFlags = typedef uint32_t |
Represents one or more OnnxParserFlag values using binary OR operations, e.g., 1U << OnnxParserFlag::kNATIVE_INSTANCENORM.
|
strong |
|
strong |
IOnnxConfig * nvonnxparser::createONNXConfig | ( | ) |
|
inlineconstexpr |
|
inlineconstexpr |
Maximum number of flags in the ErrorCode enum.
|
inlineconstexpr |
Maximum number of flags in the OnnxParserFlag enum.