Class TensorRtExecutionContextCallbackStateSnapshot
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Copied read-only snapshot of execution-context callback boundary state. execution context 回调边界状态的只读复制快照。
public sealed class TensorRtExecutionContextCallbackStateSnapshot
- Inheritance
-
TensorRtExecutionContextCallbackStateSnapshot
- Inherited Members
Properties
DebugListenerClearSupported
Gets whether debug listener clearing is supported for this snapshot line. 获取该版本线是否支持清除 debug listener。
public bool DebugListenerClearSupported { get; }
Property Value
DebugListenerCleared
Gets whether the clear snapshot reported that debug listener clear was accepted. 获取 clear 快照是否报告 debug listener 清理被接受。
public bool DebugListenerCleared { get; }
Property Value
DebugListenerInterfaceInfo
Gets copied debug listener interface metadata. No listener pointer is exposed or retained. 获取复制出的 debug listener interface 元数据;不会暴露或保留 listener 指针。
public TensorRtInterfaceInfo DebugListenerInterfaceInfo { get; }
Property Value
DebugListenerInterfaceInfoAvailable
Gets whether debug listener interface metadata was copied. 获取是否复制到了 debug listener interface 元数据。
public bool DebugListenerInterfaceInfoAvailable { get; }
Property Value
Diagnostic
Gets a copied diagnostic string. 获取复制出的诊断字符串。
public string Diagnostic { get; }
Property Value
HasDebugListener
Gets whether TensorRT reported a debug listener. 获取 TensorRT 是否报告已绑定 debug listener。
public bool HasDebugListener { get; }
Property Value
HasOutputAllocator
Gets whether TensorRT reported an output allocator for the requested output tensor. 获取 TensorRT 是否报告指定输出 tensor 已绑定 output allocator。
public bool HasOutputAllocator { get; }
Property Value
HasTemporaryStorageAllocator
Gets whether TensorRT reported a temporary-storage allocator. 获取 TensorRT 是否报告已绑定 temporary-storage allocator。
public bool HasTemporaryStorageAllocator { get; }
Property Value
IsComplete
Gets whether every native snapshot phase completed successfully. 获取所有原生快照阶段是否都已成功完成。
public bool IsComplete { get; }
Property Value
LastOperation
Gets the last native operation label copied into the snapshot. 获取复制到快照中的最后一个原生操作标签。
public string LastOperation { get; }
Property Value
LastStatus
Gets the last native bridge status copied into the snapshot. 获取复制到快照中的最后一个原生 bridge 状态。
public BridgeStatusCode LastStatus { get; }
Property Value
Line
Gets the TensorRT API line used to collect this snapshot. 获取采集该快照的 TensorRT API line。
public TensorRtApiLine Line { get; }
Property Value
OutputAllocatorClearSupported
Gets whether output allocator clearing is supported for this snapshot line. 获取该版本线是否支持清除 output allocator。
public bool OutputAllocatorClearSupported { get; }
Property Value
OutputAllocatorCleared
Gets whether the clear snapshot reported that output allocator clear was accepted. 获取 clear 快照是否报告 output allocator 清理被接受。
public bool OutputAllocatorCleared { get; }
Property Value
OutputAllocatorInterfaceInfo
Gets copied output allocator interface metadata. No allocator pointer is exposed or retained. 获取复制出的 output allocator interface 元数据;不会暴露或保留 allocator 指针。
public TensorRtInterfaceInfo OutputAllocatorInterfaceInfo { get; }
Property Value
OutputAllocatorInterfaceInfoAvailable
Gets whether output allocator interface metadata was copied. 获取是否复制到了 output allocator interface 元数据。
public bool OutputAllocatorInterfaceInfoAvailable { get; }
Property Value
TemporaryStorageAllocatorClearSupported
Gets whether temporary-storage allocator clearing is supported for this snapshot line. 获取该版本线是否支持清除 temporary-storage allocator。
public bool TemporaryStorageAllocatorClearSupported { get; }
Property Value
TemporaryStorageAllocatorCleared
Gets whether the clear snapshot reported that temporary-storage allocator clear was accepted. 获取 clear 快照是否报告 temporary-storage allocator 清理被接受。
public bool TemporaryStorageAllocatorCleared { get; }
Property Value
TemporaryStorageAllocatorInterfaceInfo
Gets copied temporary-storage allocator interface metadata. No allocator pointer is exposed or retained. 获取复制出的 temporary-storage allocator interface 元数据;不会暴露或保留 allocator 指针。
public TensorRtInterfaceInfo TemporaryStorageAllocatorInterfaceInfo { get; }
Property Value
TemporaryStorageAllocatorInterfaceInfoAvailable
Gets whether temporary-storage allocator interface metadata was copied. 获取是否复制到了 temporary-storage allocator interface 元数据。
public bool TemporaryStorageAllocatorInterfaceInfoAvailable { get; }
Property Value
Methods
ToString()
Converts the snapshot to a compact diagnostic string. 转换为简短诊断字符串。
public override string ToString()