Class TensorRtExecutionContextDeploymentSnapshot
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Captures TensorRT execution-context state relevant to dynamic shapes, tensor addresses, and enqueue readiness. 捕获与动态 shape、tensor 地址绑定和 enqueue 就绪状态相关的 TensorRT execution-context 状态。
public sealed class TensorRtExecutionContextDeploymentSnapshot
- Inheritance
-
TensorRtExecutionContextDeploymentSnapshot
- Inherited Members
Properties
AllInputDimensionsSpecified
Gets whether TensorRT reports all input dimensions specified. 获取 TensorRT 是否报告所有输入维度已指定。
public bool AllInputDimensionsSpecified { get; }
Property Value
AllInputShapesSpecified
Gets whether TensorRT reports all input shape tensors specified. 获取 TensorRT 是否报告所有输入 shape tensor 已指定。
public bool AllInputShapesSpecified { get; }
Property Value
ContextName
Gets the execution-context name. 获取 execution context 名称。
public string ContextName { get; }
Property Value
DebugSync
Gets whether TensorRT debug synchronization is enabled. 获取 TensorRT debug synchronization 是否启用。
public bool DebugSync { get; }
Property Value
DeviceMemorySizeInBytes
Gets execution-context device-memory requirement. 获取 execution context 设备内存需求。
public ulong DeviceMemorySizeInBytes { get; }
Property Value
Diagnostics
Gets non-fatal diagnostics collected while building the snapshot. 获取构建快照时收集的非致命诊断信息。
public IReadOnlyList<string> Diagnostics { get; }
Property Value
EngineIOTensorCount
Gets the engine I/O tensor count reached through the context. 获取通过 context 反查到的 engine I/O tensor 数量。
public int EngineIOTensorCount { get; }
Property Value
EngineLayerCount
Gets the engine layer count reached through the context. 获取通过 context 反查到的 engine layer 数量。
public int EngineLayerCount { get; }
Property Value
EngineName
Gets the engine name reached through the execution context. 获取通过 execution context 反查到的 engine 名称。
public string EngineName { get; }
Property Value
EngineOptimizationProfileCount
Gets the engine optimization-profile count reached through the context. 获取通过 context 反查到的 engine optimization profile 数量。
public int EngineOptimizationProfileCount { get; }
Property Value
EnqueueEmitsProfile
Gets whether enqueue emits profiling data. 获取 enqueue 是否发出 profiling 数据。
public bool EnqueueEmitsProfile { get; }
Property Value
HasDebugListener
Gets whether a debug listener is attached. 获取是否已绑定 debug listener。
public bool HasDebugListener { get; }
Property Value
HasProfiler
Gets whether a profiler is attached. 获取是否已绑定 profiler。
public bool HasProfiler { get; }
Property Value
HasRuntimeConfig
Gets whether TensorRT exposes a runtime config for this context. 获取 TensorRT 是否为该 context 暴露 runtime config。
public bool HasRuntimeConfig { get; }
Property Value
HasTemporaryStorageAllocator
Gets whether a temporary-storage allocator is attached. 获取是否已绑定 temporary-storage allocator。
public bool HasTemporaryStorageAllocator { get; }
Property Value
InputConsumedEventAddressValue
Gets the input-consumed CUDA event native address as a diagnostic integer value. 获取 input-consumed CUDA event 原生地址的诊断整数值。
public ulong InputConsumedEventAddressValue { get; }
Property Value
IsInputConsumedEventSet
Gets whether an input-consumed CUDA event is set. 获取是否设置了 input-consumed CUDA event。
public bool IsInputConsumedEventSet { get; }
Property Value
NvtxVerbosity
Gets current NVTX verbosity. 获取当前 NVTX verbosity。
public TensorRtProfilingVerbosity NvtxVerbosity { get; }
Property Value
OptimizationProfileIndex
Gets the active optimization profile index. 获取当前 active optimization profile 索引。
public int OptimizationProfileIndex { get; }
Property Value
PersistentCacheLimitInBytes
Gets persistent-cache limit. 获取 persistent cache 限制。
public ulong PersistentCacheLimitInBytes { get; }
Property Value
RuntimeConfigAllocationStrategy
Gets runtime-config allocation strategy when available. 获取可用时的 runtime config allocation strategy。
public TensorRtExecutionContextAllocationStrategy? RuntimeConfigAllocationStrategy { get; }
Property Value
TensorStates
Gets per-tensor context binding states. 获取逐 tensor 的 context 绑定状态。
public IReadOnlyList<TensorRtTensorBindingState> TensorStates { get; }
Property Value
UnfusedTensorsDebugState
Gets TensorRT 11 unfused-tensor debug state. 获取 TensorRT 11 unfused tensor debug state。
public bool UnfusedTensorsDebugState { get; }
Property Value
Methods
ToString()
Creates a compact one-line diagnostic summary. 创建紧凑的单行诊断摘要。
public override string ToString()