|
TensorRT 11.5.0
|
Class containing plugin attribute field names and associated data. More...
#include <NvInferPluginBase.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 | |
| Construct a PluginField with optional name, data, type, and length. More... | |
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... | |
Class containing plugin attribute field names and associated data.
This information can be parsed to decode necessary plugin metadata for custom layers.
|
inlinenoexcept |
Construct a PluginField with optional name, data, type, and length.
Initializes all members. The pointer arguments may be nullptr, and length may be zero.
| [in] | name_ | Optional field name; nullptr if not set. |
| [in] | data_ | Optional pointer to field data; nullptr if not set. |
| [in] | type_ | Field type; defaults to PluginFieldType::kUNKNOWN. |
| [in] | length_ | Number of data entries; defaults to zero. |
| void const* nvinfer1::PluginField::data |
Plugin field attribute data.
| int32_t nvinfer1::PluginField::length |
Number of data entries in the plugin attribute.
| AsciiChar const* nvinfer1::PluginField::name |
Plugin field attribute name.
| PluginFieldType nvinfer1::PluginField::type |
Plugin field attribute type.
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