TensorRT  7.1.0.16
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  IPluginFactory
 Plugin factory used to configure plugins. More...
 
class  IPluginFactoryExt
 Plugin factory used to configure plugins with added support for TRT versioning. More...
 
class  IUffParser
 Class used for parsing models described using the UFF format. More...
 

Enumerations

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

Functions

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

Detailed Description

The TensorRT UFF parser API namespace.

Enumeration Type Documentation

◆ FieldType

enum nvuffparser::FieldType : int
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.

◆ UffInputOrder

enum nvuffparser::UffInputOrder : int
strong

The different possible supported input order.

Enumerator
kNCHW 

NCHW order.

kNHWC 

NHWC order.

kNC 

NC order.

Function Documentation

◆ createUffParser()

IUffParser* nvuffparser::createUffParser ( )

Creates a IUffParser object.

Returns
A pointer to the IUffParser object is returned.
See also
nvuffparser::IUffParser

◆ shutdownProtobufLibrary()

void nvuffparser::shutdownProtobufLibrary ( void  )

Shuts down protocol buffers library.

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