Class TensorRtOnnxParserRefitterDiagnosticSummary
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Summarizes copied, pointer-free ONNX parser-refitter diagnostics. 汇总已复制、无指针逃逸的 ONNX parser-refitter 诊断信息。
public sealed class TensorRtOnnxParserRefitterDiagnosticSummary
- Inheritance
-
TensorRtOnnxParserRefitterDiagnosticSummary
- Inherited Members
Constructors
TensorRtOnnxParserRefitterDiagnosticSummary(TensorRtApiLine, int, int, int)
Creates a compact ONNX parser-refitter diagnostic summary. 创建紧凑 ONNX parser-refitter 诊断摘要。
public TensorRtOnnxParserRefitterDiagnosticSummary(TensorRtApiLine line, int errorCount, int copiedDiagnosticCount, int diagnosticSummaryLength)
Parameters
lineTensorRtApiLineTensorRT API line used by the parser-refitter. Parser-refitter 所属 TensorRT API 版本线。
errorCountintParser-refitter error count copied into the source snapshot. 源快照中复制的 parser-refitter 错误数量。
copiedDiagnosticCountintNumber of copied parser-refitter diagnostics. 已复制 parser-refitter 诊断数量。
diagnosticSummaryLengthintLength of the copied readable diagnostic summary. 已复制可读诊断摘要长度。
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-refitter diagnostics. 获取已复制 parser-refitter 诊断数量。
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-refitter error count copied into the source snapshot. 获取源快照中复制的 parser-refitter 错误数量。
public int ErrorCount { 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-refitter. 获取 parser-refitter 使用的 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
Methods
ToString()
Converts the summary to a compact log-friendly string. 将摘要转换为适合日志输出的紧凑字符串。
public override string ToString()
Returns
- string
A compact parser-refitter diagnostic summary string. 紧凑 parser-refitter 诊断摘要字符串。