Class TensorRtOnnxParserDiagnosticSummary
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Summarizes copied, pointer-free ONNX parser diagnostic inventory state. 汇总已复制、无指针逃逸的 ONNX parser 诊断 inventory 状态。
public sealed class TensorRtOnnxParserDiagnosticSummary
- Inheritance
-
TensorRtOnnxParserDiagnosticSummary
- Inherited Members
Constructors
TensorRtOnnxParserDiagnosticSummary(TensorRtApiLine, int, int, int, int, bool)
Creates a compact ONNX parser diagnostic summary. 创建紧凑 ONNX parser 诊断摘要。
public TensorRtOnnxParserDiagnosticSummary(TensorRtApiLine line, int errorCount, int copiedDiagnosticCount, int diagnosticSummaryLength, int usedVCPluginLibraryCount, bool identityOperatorSupported)
Parameters
lineTensorRtApiLineTensorRT API line used by the parser. Parser 所属 TensorRT API 版本线。
errorCountintParser error count copied into the source snapshot. 源快照中复制的 parser 错误数量。
copiedDiagnosticCountintNumber of copied parser diagnostics. 已复制 parser 诊断数量。
diagnosticSummaryLengthintLength of the copied readable diagnostic summary. 已复制可读诊断摘要长度。
usedVCPluginLibraryCountintNumber of copied VC plugin library paths. 已复制 VC plugin library 路径数量。
identityOperatorSupportedboolWhether TensorRT reported ONNX Identity operator support when the snapshot was captured. 捕获快照时 TensorRT 是否报告支持 ONNX Identity 算子。
Properties
CanDeleteDeferredRecord
Gets whether this summary allows deleting deferred records. 获取该摘要是否允许删除 deferred 记录。
public bool CanDeleteDeferredRecord { get; }
Property Value
CanPromoteReleaseProof
Gets whether this summary can promote public release proof. 获取该摘要是否可晋级为 public release proof。
public bool CanPromoteReleaseProof { get; }
Property Value
CanPromoteRuntimeProof
Gets whether this summary can be promoted as runtime proof. 获取该摘要是否可晋级为 runtime proof。
public bool CanPromoteRuntimeProof { get; }
Property Value
CopiedDiagnosticCount
Gets the number of copied parser diagnostics. 获取已复制 parser 诊断数量。
public int CopiedDiagnosticCount { get; }
Property Value
DiagnosticSummaryLength
Gets the length of the copied readable diagnostic summary. 获取已复制可读诊断摘要长度。
public int DiagnosticSummaryLength { get; }
Property Value
ErrorCount
Gets the parser error count copied into the source snapshot. 获取源快照中复制的 parser 错误数量。
public int ErrorCount { get; }
Property Value
IdentityOperatorSupported
Gets whether TensorRT reported support for the ONNX Identity operator when the snapshot was captured. 获取捕获快照时 TensorRT 是否报告支持 ONNX Identity 算子。
public bool IdentityOperatorSupported { get; }
Property Value
IsRuntimeExecutionEvidence
Gets whether this summary is runtime execution evidence. 获取该摘要是否为 runtime execution evidence。
public bool IsRuntimeExecutionEvidence { get; }
Property Value
IsRuntimeExecutionProof
Gets whether this summary is runtime execution proof. 获取该摘要是否为 runtime execution proof。
public bool IsRuntimeExecutionProof { get; }
Property Value
Line
Gets the TensorRT API line used by the parser. 获取 parser 使用的 TensorRT API 版本线。
public TensorRtApiLine Line { get; }
Property Value
PointerFreeCopiedSummary
Gets whether this summary is copied and pointer-free. 获取该摘要是否为复制型且不暴露指针。
public bool PointerFreeCopiedSummary { get; }
Property Value
RuntimeEvidenceKind
Gets the runtime evidence kind represented by this copied summary. 获取该 copied summary 表示的 runtime evidence 类型。
public string RuntimeEvidenceKind { get; }
Property Value
UsedVCPluginLibraryCount
Gets the number of copied VC plugin library paths. 获取已复制 VC plugin library 路径数量。
public int UsedVCPluginLibraryCount { get; }
Property Value
Methods
ToString()
Converts the summary to a compact log-friendly string. 将摘要转换为适合日志输出的紧凑字符串。
public override string ToString()
Returns
- string
A compact parser diagnostic summary string. 紧凑 parser 诊断摘要字符串。