Class TensorRtRnnV2BorrowedStateDesignGate
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Evaluates the TensorRT 8 RNNv2 borrowed tensor and gate-weight design boundary. 评估 TensorRT 8 RNNv2 borrowed tensor 与 gate weights 的设计边界。
public static class TensorRtRnnV2BorrowedStateDesignGate
- Inheritance
-
TensorRtRnnV2BorrowedStateDesignGate
- Inherited Members
Methods
Evaluate(TensorRtApiLine, bool, bool, bool, bool)
Evaluates the RNNv2 borrowed-state boundary from explicit capability flags. 根据显式能力标记评估 RNNv2 borrowed-state 边界。
public static TensorRtRnnV2BorrowedStateDesignGateResult Evaluate(TensorRtApiLine line, bool dataLengthScalarPromoted, bool networkOwnedTensorReferencePolicyReady, bool gateWeightSnapshotCopyReady, bool ownerLifetimeKnown)
Parameters
lineTensorRtApiLinedataLengthScalarPromotedboolnetworkOwnedTensorReferencePolicyReadyboolgateWeightSnapshotCopyReadyboolownerLifetimeKnownbool
Returns
EvaluateKnownSurface()
Evaluates the current known-safe RNNv2 surface. 评估当前已知安全的 RNNv2 surface。
public static TensorRtRnnV2BorrowedStateDesignGateResult EvaluateKnownSurface()
Returns
- TensorRtRnnV2BorrowedStateDesignGateResult
A pointer-free design gate result. 无裸指针设计门结果。