Table of Contents

Class TensorRtPluginV3LayerMetadata

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Pointer-free metadata copied from a TensorRT PluginV3 layer and its capability interfaces. 从 TensorRT PluginV3 layer 及其 capability interface 复制出的无指针元数据。

public sealed class TensorRtPluginV3LayerMetadata
Inheritance
TensorRtPluginV3LayerMetadata
Inherited Members

Remarks

Borrowed plugin and capability pointers remain inside one native owner-scoped call. Only strings, scalars, enums, and interface versions cross the ABI. Borrowed plugin 与 capability 指针只存在于 native owner-scoped 调用内; 跨 ABI 的只有字符串、标量、枚举和 interface version。

Properties

Build

Gets copied build metadata when the build capability is available. 获取 build capability 可用时的元数据副本。

public TensorRtPluginV3BuildMetadata? Build { get; }

Property Value

TensorRtPluginV3BuildMetadata

Core

Gets copied core identity and interface metadata. 获取 core identity 与 interface 元数据副本。

public TensorRtPluginV3CoreMetadata Core { get; }

Property Value

TensorRtPluginV3CoreMetadata

HasBuildCapability

Gets whether the build capability is available. 获取 build capability 是否可用。

public bool HasBuildCapability { get; }

Property Value

bool

HasCoreCapability

Gets whether the required core capability was reported. 获取是否报告了必需的 core capability。

public bool HasCoreCapability { get; }

Property Value

bool

HasRuntimeCapability

Gets whether the runtime capability is available. 获取 runtime capability 是否可用。

public bool HasRuntimeCapability { get; }

Property Value

bool

IsConsistent

Gets whether required copied metadata is internally consistent. 获取必需元数据是否一致。

public bool IsConsistent { get; }

Property Value

bool

Line

Gets the TensorRT API line used for the query. 获取查询使用的 TensorRT API line。

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

PluginInterface

Gets copied metadata for the IPluginV3 wrapper interface. 获取 IPluginV3 wrapper interface 元数据副本。

public TensorRtPluginV3InterfaceMetadata PluginInterface { get; }

Property Value

TensorRtPluginV3InterfaceMetadata

Runtime

Gets copied runtime metadata when the runtime capability is available. 获取 runtime capability 可用时的元数据副本。

public TensorRtPluginV3RuntimeMetadata? Runtime { get; }

Property Value

TensorRtPluginV3RuntimeMetadata

Methods

ToString()

Returns compact pointer-free diagnostics. 返回简短的无指针诊断。

public override string ToString()

Returns

string