TensorRT 8.6.0
nvuffparser Namespace Reference

The TensorRT UFF parser API namespace. More...

Classes

struct  FieldCollection
 
class  FieldMap
 An array of field params used as a layer parameter for plugin layers. More...
 
class  IUffParser
 Class used for parsing models described using the UFF format. More...
 

Enumerations

enum class  UffInputOrder : int32_t { kNCHW = 0 , kNHWC = 1 , kNC = 2 }
 The different possible supported input order. More...
 
enum class  FieldType : int32_t {
  kFLOAT = 0 , kINT32 = 1 , kCHAR = 2 , kDIMS = 4 ,
  kDATATYPE = 5 , kUNKNOWN = 6
}
 The possible field types for custom layer. More...
 

Functions

IUffParsercreateUffParser () noexcept
 Creates a IUffParser object. More...
 
void shutdownProtobufLibrary (void) noexcept
 Shuts down protocol buffers library. More...
 

Detailed Description

The TensorRT UFF parser API namespace.

Enumeration Type Documentation

◆ FieldType

enum class nvuffparser::FieldType : int32_t
strong

The possible field types for custom layer.

Enumerator
kFLOAT 

FP32 field type.

kINT32 

INT32 field type.

kCHAR 

char field type. String for length>1.

kDIMS 

nvinfer1::Dims field type.

kDATATYPE 

nvinfer1::DataType field type.

kUNKNOWN 

◆ UffInputOrder

enum class nvuffparser::UffInputOrder : int32_t
strong

The different possible supported input order.

Enumerator
kNCHW 

NCHW order.

kNHWC 

NHWC order.

kNC 

NC order.

Function Documentation

◆ createUffParser()

IUffParser * nvuffparser::createUffParser ( )
noexcept

Creates a IUffParser object.

Returns
A pointer to the IUffParser object is returned.
See also
nvuffparser::IUffParser
Deprecated:
IUffParser will be removed in TensorRT 9.0. Plan to migrate your workflow to use nvonnxparser::IParser for deployment.

◆ shutdownProtobufLibrary()

void nvuffparser::shutdownProtobufLibrary ( void  )
noexcept

Shuts down protocol buffers library.

Note
No part of the protocol buffers library can be used after this function is called.