Table of Contents

Class TensorRtPluginFieldInfo

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Read-only metadata for a TensorRT plugin creator field. TensorRT plugin creator 字段的只读元数据。

public sealed class TensorRtPluginFieldInfo
Inheritance
TensorRtPluginFieldInfo
Inherited Members

Properties

FieldType

Gets the TensorRT plugin field type. 获取 TensorRT plugin 字段类型。

public TensorRtPluginFieldType FieldType { get; }

Property Value

TensorRtPluginFieldType

HasData

Gets whether TensorRT reported a non-null field data pointer. 获取 TensorRT 是否报告非空字段数据指针。

public bool HasData { get; }

Property Value

bool

Length

Gets the number of entries described by this field. 获取该字段描述的元素数量。

public int Length { get; }

Property Value

int

Name

Gets the field name reported by TensorRT. 获取 TensorRT 报告的字段名。

public string Name { get; }

Property Value

string

Methods

ToString()

Returns a compact display string for the plugin field. 返回该 plugin 字段的简短显示字符串。

public override string ToString()

Returns

string

A display string containing the field name, type, and length. 包含字段名、类型和长度的显示字符串。