Table of Contents

Class TensorRtPluginCreatorV3MetadataDesignGate

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Evaluates the pointer-free TensorRT PluginCreatorV3 and IVersionedInterface metadata design gate. 评估 TensorRT PluginCreatorV3 与 IVersionedInterface metadata 的无裸指针设计门。

public static class TensorRtPluginCreatorV3MetadataDesignGate
Inheritance
TensorRtPluginCreatorV3MetadataDesignGate
Inherited Members

Remarks

This gate documents the safe alternative already provided by plugin registry inventory snapshots. It does not expose plugin creator pointers, create plugin instances, or load plugin libraries. 该门禁记录 plugin registry inventory snapshot 已提供的安全替代能力;不会暴露 plugin creator 指针、 创建 plugin instance,也不会加载 plugin library。

Methods

Evaluate(TensorRtApiLine, bool, bool, bool, bool, bool, bool)

Evaluates PluginCreatorV3 metadata readiness from explicit capability flags. 根据显式能力标记评估 PluginCreatorV3 metadata 就绪状态。

public static TensorRtPluginCreatorV3MetadataDesignGateResult Evaluate(TensorRtApiLine line, bool registryInventorySnapshotReady, bool copiedIdentityReady, bool copiedFieldMetadataReady, bool copiedInterfaceInfoReady, bool pluginCreationModeled, bool borrowedCreatorLifetimeModeled)

Parameters

line TensorRtApiLine

The TensorRT API line. TensorRT API 版本线。

registryInventorySnapshotReady bool

Whether copied registry inventory snapshots are ready. copied registry inventory snapshot 是否就绪。

copiedIdentityReady bool

Whether creator name/version/namespace copies are ready. creator name/version/namespace copied 输出是否就绪。

copiedFieldMetadataReady bool

Whether plugin field metadata copies are ready. plugin field metadata copied 输出是否就绪。

copiedInterfaceInfoReady bool

Whether interface metadata copies are ready. interface metadata copied 输出是否就绪。

pluginCreationModeled bool

Whether plugin creation ownership has been modeled. plugin creation ownership 是否已建模。

borrowedCreatorLifetimeModeled bool

Whether borrowed creator lifetime has been modeled. borrowed creator lifetime 是否已建模。

Returns

TensorRtPluginCreatorV3MetadataDesignGateResult

A pointer-free PluginCreatorV3 metadata design gate result. 无裸指针 PluginCreatorV3 metadata 设计门结果。

EvaluateKnownSurface(TensorRtApiLine)

Evaluates the known public PluginCreatorV3 metadata surface for a TensorRT API line. 基于已知 public PluginCreatorV3 metadata 边界评估指定 TensorRT API line。

public static TensorRtPluginCreatorV3MetadataDesignGateResult EvaluateKnownSurface(TensorRtApiLine line)

Parameters

line TensorRtApiLine

The TensorRT API line. TensorRT API 版本线。

Returns

TensorRtPluginCreatorV3MetadataDesignGateResult

A pointer-free PluginCreatorV3 metadata design gate result. 无裸指针 PluginCreatorV3 metadata 设计门结果。