TensorRT 10.8.0
nvinfer1::PluginField 类参考

包含插件属性字段名称和相关数据的结构。 此信息可以被解析以解码必要的插件元数据。 更多...

#include <NvInferPluginBase.h>

公共成员函数

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

公共属性

AsciiChar const * 名称
 插件字段属性名称。 更多...
 
void const * 数据
 插件字段属性数据。 更多...
 
PluginFieldType 类型
 插件字段属性类型。 更多...
 
int32_t 长度
 插件属性中数据条目的数量。 更多...
 

详细描述

包含插件属性字段名称和相关数据的结构。 此信息可以被解析以解码必要的插件元数据。

构造函数 & 析构函数文档

◆ 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

成员数据文档

◆ data

void const* nvinfer1::PluginField::data

插件字段属性数据。

◆ length

int32_t nvinfer1::PluginField::length

插件属性中数据条目的数量。

◆ name

AsciiChar const* nvinfer1::PluginField::name

插件字段属性名称。

◆ type

PluginFieldType nvinfer1::PluginField::type

插件字段属性类型。


此类文档从以下文件生成

  版权所有 © 2024 NVIDIA Corporation
  隐私政策 | 管理我的隐私 | 请勿出售或分享我的数据 | 服务条款 | 辅助功能 | 公司政策 | 产品安全 | 联系我们