Table of Contents

Class TensorRtErrorRecorderSummary

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Represents a compact pointer-free summary of a copied TensorRT error-recorder snapshot. 表示 TensorRT error-recorder 已复制快照的紧凑无指针摘要。

public sealed class TensorRtErrorRecorderSummary
Inheritance
TensorRtErrorRecorderSummary
Inherited Members

Properties

CanDeleteDeferredRecord

Gets whether this summary allows deleting deferred records. 获取该摘要是否允许删除 deferred 记录。

public bool CanDeleteDeferredRecord { get; }

Property Value

bool

CanPromoteReleaseProof

Gets whether this summary can promote public release proof. 获取该摘要是否可晋级为 public release proof。

public bool CanPromoteReleaseProof { get; }

Property Value

bool

CanPromoteRuntimeProof

Gets whether this summary can be promoted as runtime proof. 获取该摘要是否可晋级为 runtime proof。

public bool CanPromoteRuntimeProof { get; }

Property Value

bool

CopiedErrorRecordCount

Gets the number of copied managed error records. 获取已复制到托管侧的错误记录数量。

public int CopiedErrorRecordCount { get; }

Property Value

int

CopiedRecordCountMatchesErrorCount

Gets whether all reported errors were copied into managed records. 获取报告的错误是否都复制到了托管记录。

public bool CopiedRecordCountMatchesErrorCount { get; }

Property Value

bool

ErrorCount

Gets the error count reported by TensorRT. 获取 TensorRT 报告的错误数量。

public int ErrorCount { get; }

Property Value

int

FirstErrorCode

Gets the first copied error code, if any. 获取第一条已复制错误码;无记录时为空。

public int? FirstErrorCode { get; }

Property Value

int?

FirstErrorDescriptionLength

Gets the first copied error-description length without retaining native memory. 获取第一条已复制错误描述长度,不持有原生内存。

public int FirstErrorDescriptionLength { get; }

Property Value

int

HasOverflowed

Gets whether the recorder reported overflow. 获取 recorder 是否报告溢出。

public bool HasOverflowed { get; }

Property Value

bool

HasRecorder

Gets whether the source object had an attached error recorder. 获取来源对象是否附加 error recorder。

public bool HasRecorder { get; }

Property Value

bool

InterfaceInfoAvailable

Gets whether copied interface metadata was available. 获取复制型 interface 元数据是否可用。

public bool InterfaceInfoAvailable { get; }

Property Value

bool

InterfaceMajor

Gets the copied interface major version, if available. 获取已复制 interface 主版本;不可用时为 0。

public int InterfaceMajor { get; }

Property Value

int

InterfaceMinor

Gets the copied interface minor version, if available. 获取已复制 interface 次版本;不可用时为 0。

public int InterfaceMinor { get; }

Property Value

int

InterfaceName

Gets the copied interface name, if available. 获取已复制 interface 名称;不可用时为空。

public string InterfaceName { get; }

Property Value

string

IsRuntimeExecutionEvidence

Gets whether this summary is runtime execution evidence. 获取该摘要是否为 runtime execution evidence。

public bool IsRuntimeExecutionEvidence { get; }

Property Value

bool

IsRuntimeExecutionProof

Gets whether this summary is runtime execution proof. 获取该摘要是否为 runtime execution proof。

public bool IsRuntimeExecutionProof { get; }

Property Value

bool

Line

Gets the TensorRT API line used to collect this summary. 获取采集该摘要的 TensorRT API line。

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

PointerFreeCopiedSummary

Gets whether this summary is copied and pointer-free. 获取该摘要是否为复制型且不暴露指针。

public bool PointerFreeCopiedSummary { get; }

Property Value

bool

RuntimeEvidenceKind

Gets the runtime evidence kind represented by this copied summary. 获取该 copied summary 表示的 runtime evidence 类型。

public string RuntimeEvidenceKind { get; }

Property Value

string

Methods

ToString()

Converts the summary to a compact diagnostic string. 转换为紧凑诊断字符串。

public override string ToString()

Returns

string