TensorRT 8.5.3
nvonnxparser Namespace Reference

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...
 

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 parser error More...
 

Functions

IOnnxConfigcreateONNXConfig ()
 
template<typename T >
int32_t EnumMax ()
 
template<>
int32_t EnumMax< ErrorCode > ()
 

Detailed Description

The TensorRT ONNX parser API namespace.

Enumeration Type Documentation

◆ ErrorCode

enum class nvonnxparser::ErrorCode : int
strong

the type of parser error

Enumerator
kSUCCESS 
kINTERNAL_ERROR 
kMEM_ALLOC_FAILED 
kMODEL_DESERIALIZE_FAILED 
kINVALID_VALUE 
kINVALID_GRAPH 
kINVALID_NODE 
kUNSUPPORTED_GRAPH 
kUNSUPPORTED_NODE 

Function Documentation

◆ createONNXConfig()

IOnnxConfig * nvonnxparser::createONNXConfig ( )

◆ EnumMax()

template<typename T >
int32_t nvonnxparser::EnumMax ( )
inline

◆ EnumMax< ErrorCode >()

template<>
int32_t nvonnxparser::EnumMax< ErrorCode > ( )
inline

  Copyright © 2024 NVIDIA Corporation
  Privacy Policy | Manage My Privacy | Do Not Sell or Share My Data | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact