Table of Contents

Struct TensorRtDebugListenerCallbackOwnerSnapshot

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Reports copied diagnostics for the debug-listener callback owner design gate. 表示 debug-listener callback owner 设计门禁复制出的诊断信息。

public readonly struct TensorRtDebugListenerCallbackOwnerSnapshot
Inherited Members

Remarks

This snapshot intentionally exposes no native handle, callback owner pointer, borrowed TensorRT tensor pointer, debug tensor data pointer, or tensor buffer ownership. It is not proof that TensorRT has invoked IDebugListener::processDebugTensor. 该快照有意不暴露 native handle、callback owner pointer、borrowed TensorRT tensor pointer、debug tensor data pointer 或 tensor buffer ownership。它不证明 TensorRT 已调用 IDebugListener::processDebugTensor。

Properties

ActiveGateCallCount

Gets the copied active gate call count. 获取复制出的 active gate 调用数量。

public int ActiveGateCallCount { get; }

Property Value

int

BorrowedDebugTensorPointerEscaped

Gets whether a borrowed debug tensor pointer escaped this public API. 获取 borrowed debug tensor pointer 是否逃逸出该 public API。

public bool BorrowedDebugTensorPointerEscaped { get; }

Property Value

bool

CallbackKind

Gets the callback kind represented by this diagnostic snapshot. 获取该诊断快照代表的 callback 类型。

public string CallbackKind { get; }

Property Value

string

CallbackStatePinned

Gets whether managed callback state remains pinned. 获取托管 callback state 是否仍被 pin 住。

public bool CallbackStatePinned { get; }

Property Value

bool

DataType

Gets the copied debug tensor data type. 获取复制出的 debug tensor 数据类型。

public TensorRtDataType DataType { get; }

Property Value

TensorRtDataType

DebugTensorMetadataCopied

Gets whether debug tensor metadata was copied into this snapshot. 获取 debug tensor metadata 是否已复制到该快照。

public bool DebugTensorMetadataCopied { get; }

Property Value

bool

DebugTensorPointerExposed

Gets whether a debug tensor pointer is exposed by this public API. 获取该 public API 是否暴露 debug tensor pointer。

public bool DebugTensorPointerExposed { get; }

Property Value

bool

DebugTensorPointerProduced

Gets whether a debug tensor pointer was produced by this diagnostic gate. 获取该诊断门禁是否产生 debug tensor pointer。

public bool DebugTensorPointerProduced { get; }

Property Value

bool

DelegatePinned

Gets whether the managed delegate remains pinned. 获取托管 delegate 是否仍被 pin 住。

public bool DelegatePinned { get; }

Property Value

bool

DisposeRequested

Gets whether dispose has been requested. 获取是否已请求释放。

public bool DisposeRequested { get; }

Property Value

bool

EvidenceKind

Gets the marker used by readiness to identify this gate. 获取 readiness 用于识别该门禁的 marker。

public string EvidenceKind { get; }

Property Value

string

FailureCount

Gets the copied failure count. 获取复制出的失败次数。

public long FailureCount { get; }

Property Value

long

InFlightCallbackCount

Gets the copied in-flight callback count. 获取复制出的 in-flight callback 数量。

public long InFlightCallbackCount { get; }

Property Value

long

InvocationCount

Gets the copied invocation count. 获取复制出的调用次数。

public long InvocationCount { get; }

Property Value

long

IsAttached

Gets whether this design owner is attached to a TensorRT execution context. 获取该设计 owner 是否已绑定到 TensorRT execution context。

public bool IsAttached { get; }

Property Value

bool

IsExecutionTensor

Gets whether the copied metadata describes an execution tensor. 获取复制出的元数据是否表示 execution tensor。

public bool IsExecutionTensor { get; }

Property Value

bool

IsInput

Gets whether the copied metadata describes an input tensor. 获取复制出的元数据是否表示输入 tensor。

public bool IsInput { get; }

Property Value

bool

IsOutput

Gets whether the copied metadata describes an output tensor. 获取复制出的元数据是否表示输出 tensor。

public bool IsOutput { get; }

Property Value

bool

IsRealCallbackRuntimeProof

Gets whether readiness may promote this snapshot as real callback runtime proof. 获取 readiness 是否可将该快照提升为真实 callback runtime proof。

public bool IsRealCallbackRuntimeProof { get; }

Property Value

bool

IsShapeTensor

Gets whether the copied metadata describes a shape tensor. 获取复制出的元数据是否表示 shape tensor。

public bool IsShapeTensor { get; }

Property Value

bool

LastDiagnostic

Gets the copied diagnostic message. 获取复制出的诊断消息。

public string LastDiagnostic { get; }

Property Value

string

LastStatus

Gets the last copied bridge status. 获取最近一次复制出的 bridge status。

public BridgeStatusCode LastStatus { get; }

Property Value

BridgeStatusCode

Line

Gets the TensorRT API line used for this diagnostic. 获取该诊断使用的 TensorRT API line。

public TensorRtApiLine Line { get; }

Property Value

TensorRtApiLine

Location

Gets the copied debug tensor location. 获取复制出的 debug tensor 位置。

public TensorRtTensorLocation Location { get; }

Property Value

TensorRtTensorLocation

MaxInFlightCallbackCount

Gets the copied maximum in-flight callback count. 获取复制出的最大 in-flight callback 数量。

public long MaxInFlightCallbackCount { get; }

Property Value

long

Operation

Gets the copied operation label. 获取复制出的操作标签。

public string Operation { get; }

Property Value

string

OwnerId

Gets the copied owner id. 获取复制出的 owner id。

public long OwnerId { get; }

Property Value

long

ProcessDebugTensorCount

Gets the copied processDebugTensor diagnostic count. 获取复制出的 processDebugTensor 诊断次数。

public long ProcessDebugTensorCount { get; }

Property Value

long

RealCallbackRuntime

Gets whether this snapshot proves a real TensorRT callback runtime. 获取该快照是否证明真实 TensorRT callback runtime。

public bool RealCallbackRuntime { get; }

Property Value

bool

ReleaseDiagnostic

Gets the copied release diagnostic message. 获取复制出的释放诊断消息。

public string ReleaseDiagnostic { get; }

Property Value

string

ReleaseHookCount

Gets the copied release hook count. 获取复制出的 release hook 次数。

public long ReleaseHookCount { get; }

Property Value

long

RuntimeEvidenceKind

Gets the runtime evidence kind. 获取 runtime 证据类型。

public string RuntimeEvidenceKind { get; }

Property Value

string

ShapeRank

Gets the copied debug tensor shape rank. 获取复制出的 debug tensor shape rank。

public int ShapeRank { get; }

Property Value

int

ShapeSummary

Gets a compact copied debug tensor shape summary. 获取紧凑的复制 debug tensor shape 摘要。

public string ShapeSummary { get; }

Property Value

string

Succeeded

Gets whether the diagnostic completed without failures. 获取诊断是否未出现失败。

public bool Succeeded { get; }

Property Value

bool

TensorName

Gets the copied debug tensor name. 获取复制出的 debug tensor 名称。

public string TensorName { get; }

Property Value

string

Methods

ToString()

Returns a compact diagnostic representation. 返回紧凑的诊断表示。

public override string ToString()

Returns

string

A diagnostic string. 诊断字符串。