Table of Contents

Class TensorRtStreamIoInterfaceInfoDesignGate

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Evaluates the pointer-free TensorRT stream reader/writer interface-info design gate. 评估 TensorRT stream reader/writer interface-info 的无裸指针设计门。

public static class TensorRtStreamIoInterfaceInfoDesignGate
Inheritance
TensorRtStreamIoInterfaceInfoDesignGate
Inherited Members

Remarks

Stream reader and writer interfaces are application-provided serialization/deserialization callbacks. This gate allows only copied interface metadata planning and does not expose reader or writer handles. Stream reader/writer 是应用侧提供的序列化/反序列化 callback;该门禁只允许 copied interface metadata 规划,不暴露 reader 或 writer handle。

Methods

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

Evaluates stream IO interface-info readiness from explicit capability flags. 根据显式能力标记评估 stream IO interface-info 就绪状态。

public static TensorRtStreamIoInterfaceInfoDesignGateResult Evaluate(TensorRtApiLine line, bool copiedInterfaceInfoMetadataReady, bool streamOwnerLifetimeModeled, bool readWriteBufferOwnershipModeled, bool seekTellLifetimeModeled)

Parameters

line TensorRtApiLine

The TensorRT API line. TensorRT API 版本线。

copiedInterfaceInfoMetadataReady bool

Whether copied interface-info metadata shape is ready. copied interface-info metadata 形态是否就绪。

streamOwnerLifetimeModeled bool

Whether stream owner lifetime has been modeled. stream owner lifetime 是否已建模。

readWriteBufferOwnershipModeled bool

Whether read/write buffer ownership has been modeled. read/write buffer ownership 是否已建模。

seekTellLifetimeModeled bool

Whether seek/tell state lifetime has been modeled. seek/tell state lifetime 是否已建模。

Returns

TensorRtStreamIoInterfaceInfoDesignGateResult

A pointer-free stream IO interface-info design gate result. 无裸指针 stream IO interface-info 设计门结果。

EvaluateKnownSurface(TensorRtApiLine)

Evaluates the known public stream IO interface-info design surface for a TensorRT API line. 基于已知 public stream IO interface-info 设计边界评估指定 TensorRT API line。

public static TensorRtStreamIoInterfaceInfoDesignGateResult EvaluateKnownSurface(TensorRtApiLine line)

Parameters

line TensorRtApiLine

The TensorRT API line. TensorRT API 版本线。

Returns

TensorRtStreamIoInterfaceInfoDesignGateResult

A pointer-free stream IO interface-info design gate result. 无裸指针 stream IO interface-info 设计门结果。