Table of Contents

Class TensorRtPluginFieldSummary

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Pointer-free summary metadata for one TensorRT plugin creator field. TensorRT plugin creator 字段的无指针摘要元数据。

public sealed class TensorRtPluginFieldSummary
Inheritance
TensorRtPluginFieldSummary
Inherited Members

Properties

CreatorIndex

Gets the creator index in the registry snapshot. 获取 creator 在 registry 快照中的索引。

public int CreatorIndex { get; }

Property Value

int

CreatorName

Gets the plugin creator name copied from TensorRT. 获取从 TensorRT 复制出的 plugin creator 名称。

public string CreatorName { get; }

Property Value

string

CreatorNamespace

Gets the plugin creator namespace copied from TensorRT. 获取从 TensorRT 复制出的 plugin creator namespace。

public string CreatorNamespace { get; }

Property Value

string

CreatorVersion

Gets the plugin creator version copied from TensorRT. 获取从 TensorRT 复制出的 plugin creator 版本。

public string CreatorVersion { get; }

Property Value

string

FieldIndex

Gets the field index inside the copied creator field collection. 获取字段在已复制 creator 字段集合中的索引。

public int FieldIndex { get; }

Property Value

int

FieldName

Gets the field name copied from TensorRT. 获取从 TensorRT 复制出的字段名。

public string FieldName { get; }

Property Value

string

FieldType

Gets the TensorRT plugin field type copied from TensorRT metadata. 获取从 TensorRT 元数据复制出的 plugin 字段类型。

public TensorRtPluginFieldType FieldType { get; }

Property Value

TensorRtPluginFieldType

HasData

Gets whether TensorRT reported a non-null field data pointer. The pointer value itself is never exposed. 获取 TensorRT 是否报告非空字段数据指针;指针值本身永不暴露。

public bool HasData { get; }

Property Value

bool

Length

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

public int Length { get; }

Property Value

int

Methods

ToString()

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

public override string ToString()

Returns

string

A display string containing creator identity and field metadata. 包含 creator 标识和字段元数据的显示字符串。