Class TensorRtOutputAllocatorAttachDetachDesignGate
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Evaluates the pointer-free OutputAllocator attach/detach design gate before any real TensorRT callback bridge exists. 中文:该成员报告 OutputAllocator 无裸指针边界状态,不代表真实 TensorRT 回调运行证明。
public static class TensorRtOutputAllocatorAttachDetachDesignGate
- Inheritance
-
TensorRtOutputAllocatorAttachDetachDesignGate
- Inherited Members
Remarks
This gate describes lifecycle readiness only. It does not call setOutputAllocator with a non-null allocator,
does not expose a native allocator pointer, and is not proof that IOutputAllocator::notifyShape or
IOutputAllocator::reallocateOutput ran.
中文:这些诊断仍是设计门禁或脚手架证据,不能替代真实 OutputAllocator 回调执行证据。
Methods
Evaluate(TensorRtOutputAllocatorCallbackOwnerSnapshot)
Evaluates the attach/detach design gate from a copied OutputAllocator owner design snapshot. 中文:该成员报告 OutputAllocator 无裸指针边界状态,不代表真实 TensorRT 回调运行证明。
public static TensorRtOutputAllocatorAttachDetachDesignGateResult Evaluate(TensorRtOutputAllocatorCallbackOwnerSnapshot ownerDesignSnapshot)
Parameters
ownerDesignSnapshotTensorRtOutputAllocatorCallbackOwnerSnapshotThe copied owner design snapshot. 中文:该参数是复制后的 OutputAllocator 边界诊断输入,不包含可借用原生指针。
Returns
- TensorRtOutputAllocatorAttachDetachDesignGateResult
A pointer-free attach/detach design result. 中文:返回复制后的 OutputAllocator 无裸指针诊断结果。