TensorRT 10.0.0
nvinfer1::PluginField Class Reference

Structure containing plugin attribute field names and associated data This information can be parsed to decode necessary plugin metadata. More...

#include <NvInferRuntimePlugin.h>

Public Member Functions

 PluginField (AsciiChar const *const name_=nullptr, void const *const data_=nullptr, PluginFieldType const type_=PluginFieldType::kUNKNOWN, int32_t const length_=0) noexcept
 

Public Attributes

AsciiChar const * name
 Plugin field attribute name. More...
 
void const * data
 Plugin field attribute data. More...
 
PluginFieldType type
 Plugin field attribute type. More...
 
int32_t length
 Number of data entries in the Plugin attribute. More...
 

Detailed Description

Structure containing plugin attribute field names and associated data This information can be parsed to decode necessary plugin metadata.

Constructor & Destructor Documentation

◆ PluginField()

nvinfer1::PluginField::PluginField ( AsciiChar const *const  name_ = nullptr,
void const *const  data_ = nullptr,
PluginFieldType const  type_ = PluginFieldType::kUNKNOWN,
int32_t const  length_ = 0 
)
inlinenoexcept

Member Data Documentation

◆ data

void const* nvinfer1::PluginField::data

Plugin field attribute data.

◆ length

int32_t nvinfer1::PluginField::length

Number of data entries in the Plugin attribute.

◆ name

AsciiChar const* nvinfer1::PluginField::name

Plugin field attribute name.

◆ type

PluginFieldType nvinfer1::PluginField::type

Plugin field attribute type.


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

  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