Class TensorRtBuilderConfigDeploymentSnapshot
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Captures TensorRT builder configuration values that materially affect engine deployment. 捕获会实质影响 engine 部署结果的 TensorRT builder 配置值。
public sealed class TensorRtBuilderConfigDeploymentSnapshot
- Inheritance
-
TensorRtBuilderConfigDeploymentSnapshot
- Inherited Members
Properties
AverageTimingIterations
Gets average timing iterations. 获取 average timing iterations。
public int AverageTimingIterations { get; }
Property Value
DefaultDeviceType
Gets default device type for layers. 获取 layer 默认设备类型。
public TensorRtDeviceType DefaultDeviceType { get; }
Property Value
Diagnostics
Gets non-fatal diagnostics collected while building the snapshot. 获取构建快照时收集的非致命诊断信息。
public IReadOnlyList<string> Diagnostics { get; }
Property Value
DlaCore
Gets selected DLA core index. 获取选择的 DLA core 索引。
public int DlaCore { get; }
Property Value
EngineCapability
Gets configured engine capability. 获取已配置的 engine capability。
public TensorRtEngineCapability EngineCapability { get; }
Property Value
Flags
Gets the TensorRT 11 builder flag bitmask. 获取 TensorRT 11 builder flag 位掩码。
public TensorRtBuilderFlags Flags { get; }
Property Value
HardwareCompatibilityLevel
Gets configured hardware compatibility level. 获取已配置的硬件兼容级别。
public TensorRtHardwareCompatibilityLevel HardwareCompatibilityLevel { get; }
Property Value
HasCalibrationProfile
Gets whether a calibration profile is attached. 获取是否已附加 calibration profile。
public bool HasCalibrationProfile { get; }
Property Value
HasProgressMonitor
Gets whether a progress monitor is attached. 获取是否已绑定 progress monitor。
public bool HasProgressMonitor { get; }
Property Value
HasTimingCache
Gets whether a timing cache is attached. 获取是否已绑定 timing cache。
public bool HasTimingCache { get; }
Property Value
IsProfileStreamSet
Gets whether a profiling CUDA stream is set. 获取是否已设置 profiling CUDA stream。
public bool IsProfileStreamSet { get; }
Property Value
L2LimitForTilingInBytes
Gets L2 byte limit for tiling optimization. 获取 tiling 优化使用的 L2 字节上限。
public long L2LimitForTilingInBytes { get; }
Property Value
MaxAuxStreams
Gets maximum auxiliary stream count requested during build. 获取构建时请求的最大辅助 stream 数量。
public int MaxAuxStreams { get; }
Property Value
MaxTactics
Gets maximum tactic count considered during build. 获取构建时最多考虑的 tactic 数量。
public int MaxTactics { get; }
Property Value
OptimizationLevel
Gets builder optimization level. 获取 builder optimization level。
public int OptimizationLevel { get; }
Property Value
OptimizationProfileCount
Gets the number of optimization profiles attached to the config. 获取已附加到配置的 optimization profile 数量。
public int OptimizationProfileCount { get; }
Property Value
PluginToSerializeCount
Gets number of plugin libraries configured for serialization. 获取配置为随 engine 序列化的 plugin library 数量。
public int PluginToSerializeCount { get; }
Property Value
ProfilingVerbosity
Gets profiling verbosity. 获取 profiling verbosity。
public TensorRtProfilingVerbosity ProfilingVerbosity { get; }
Property Value
RemoteAutoTuningConfig
Gets remote auto-tuning configuration text. 获取 remote auto-tuning 配置文本。
public string RemoteAutoTuningConfig { get; }
Property Value
RuntimePlatform
Gets configured runtime platform. 获取已配置的 runtime platform。
public TensorRtRuntimePlatform RuntimePlatform { get; }
Property Value
SerializedPluginSnapshot
Gets copied serialized plugin-path inventory details when available. 获取可用时复制出的 serialized plugin path inventory 详情。
public TensorRtBuilderConfigSerializedPluginSnapshot SerializedPluginSnapshot { get; }
Property Value
TacticSources
Gets tactic-source bit flags. 获取 tactic source 位标志。
public TensorRtTacticSources TacticSources { get; }
Property Value
TilingOptimizationLevel
Gets TensorRT 11 tiling optimization level. 获取 TensorRT 11 tiling 优化级别。
public TensorRtTilingOptimizationLevel TilingOptimizationLevel { get; }
Property Value
WorkspaceMemoryPoolLimitInBytes
Gets workspace memory-pool limit. 获取 workspace memory pool 限制。
public ulong WorkspaceMemoryPoolLimitInBytes { get; }
Property Value
Methods
ToString()
Creates a compact one-line diagnostic summary. 创建紧凑的单行诊断摘要。
public override string ToString()
Returns
ToSummary()
Converts this copied builder-config deployment snapshot into a compact pointer-free summary. 将当前已复制 builder-config deployment 快照转换为紧凑、无指针逃逸的摘要。
public TensorRtBuilderConfigDeploymentSummary ToSummary()
Returns
Remarks
This method only reads managed snapshot values. It does not call TensorRT, expose native config pointers, or promote local deployment diagnostics to runtime proof. 该方法只读取托管快照值;不会调用 TensorRT、暴露原生 config 指针,也不会将本地部署诊断晋级为 runtime proof。