Class TensorRtEngineProfileTensorValuesSnapshot
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Captures copied ICudaEngine profile tensor values for one tensor/profile/selector query. 捕获单个 tensor/profile/selector 查询对应的 ICudaEngine profile tensor values 复制快照。
public sealed class TensorRtEngineProfileTensorValuesSnapshot
- Inheritance
-
TensorRtEngineProfileTensorValuesSnapshot
- Inherited Members
Properties
Diagnostics
Gets non-fatal diagnostics collected while building the snapshot. 获取构建快照时收集到的非致命诊断。
public IReadOnlyList<string> Diagnostics { get; }
Property Value
HasAnyValues
Gets whether either copied values path succeeded. 获取是否至少有一个 copied values 路径成功。
public bool HasAnyValues { get; }
Property Value
HasLegacyInt32Values
Gets whether the TensorRT 10 legacy int32 values path produced copied values. 获取 TensorRT 10 legacy int32 values 路径是否产出了复制值。
public bool HasLegacyInt32Values { get; }
Property Value
HasValuesV2
Gets whether the TensorRT 10/11 V2 int64 values path produced copied values. 获取 TensorRT 10/11 V2 int64 values 路径是否产出了复制值。
public bool HasValuesV2 { get; }
Property Value
LegacyInt32Values
Gets copied TensorRT 10 legacy int32 profile tensor values. 获取复制出的 TensorRT 10 legacy int32 profile tensor values。
public IReadOnlyList<int> LegacyInt32Values { get; }
Property Value
Line
Gets the TensorRT API line used for this query. 获取本次查询使用的 TensorRT API line。
public TensorRtApiLine Line { get; }
Property Value
ProfileIndex
Gets the optimization profile index. 获取 optimization profile 索引。
public int ProfileIndex { get; }
Property Value
RequestedValueCount
Gets the caller-requested value count used for the copied-buffer query. 获取 copied-buffer 查询使用的调用方请求值数量。
public int RequestedValueCount { get; }
Property Value
Selector
Gets the min/opt/max selector. 获取 min/opt/max 选择器。
public TensorRtOptimizationProfileSelector Selector { get; }
Property Value
TensorName
Gets the engine tensor name. 获取 engine tensor 名称。
public string TensorName { get; }
Property Value
ValuesV2
Gets copied TensorRT 10/11 V2 int64 profile tensor values. 获取复制出的 TensorRT 10/11 V2 int64 profile tensor values。
public IReadOnlyList<long> ValuesV2 { get; }
Property Value
Methods
ToString()
Creates a compact one-line diagnostic summary. 创建紧凑的单行诊断摘要。
public override string ToString()