TensorRT 8.6.0
nvuffparser::FieldMap Class Reference

An array of field params used as a layer parameter for plugin layers. More...

#include <NvUffParser.h>

Public Member Functions

TRT_DEPRECATED FieldMap (char const *name, void const *data, FieldType const type, int32_t length=1)
 
 FieldMap ()=default
 Default constructor. More...
 

Public Attributes

char const * name {}
 
void const * data {}
 
FieldType type {FieldType::kUNKNOWN}
 
int32_t length {1}
 

Detailed Description

An array of field params used as a layer parameter for plugin layers.

The node fields are passed by the parser to the API through the plugin constructor. The implementation of the plugin should parse the contents of the fieldMap as part of the plugin constructor

Constructor & Destructor Documentation

◆ FieldMap() [1/2]

TRT_DEPRECATED nvuffparser::FieldMap::FieldMap ( char const *  name,
void const *  data,
FieldType const  type,
int32_t  length = 1 
)
Deprecated:
Legacy constructor, retained for ABI compatibility. Deprecated in TensorRT 8.6. Use the default constructor instead.

◆ FieldMap() [2/2]

nvuffparser::FieldMap::FieldMap ( )
default

Default constructor.

Member Data Documentation

◆ data

void const* nvuffparser::FieldMap::data {}

◆ length

int32_t nvuffparser::FieldMap::length {1}

◆ name

char const* nvuffparser::FieldMap::name {}

◆ type

FieldType nvuffparser::FieldMap::type {FieldType::kUNKNOWN}

The documentation for this class was generated from the following file: