Table of Contents

Struct TensorRtProgressMonitorEvent

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

A copied TensorRT progress monitor event. 从 TensorRT 复制出的 progress monitor 事件。

public readonly struct TensorRtProgressMonitorEvent
Inherited Members

Properties

Kind

Gets the event kind. 获取事件类型。

public TensorRtProgressMonitorEventKind Kind { get; }

Property Value

TensorRtProgressMonitorEventKind

ParentPhase

Gets the parent phase name, when TensorRT provided one. 获取父阶段名称;当 TensorRT 未提供父阶段时为 null。

public string? ParentPhase { get; }

Property Value

string

PhaseName

Gets the TensorRT phase name copied from native memory. 获取从 native 内存复制出的 TensorRT 阶段名称。

public string PhaseName { get; }

Property Value

string

Step

Gets the completed step index for StepComplete events. 获取 StepComplete 事件的完成步骤索引。

public int Step { get; }

Property Value

int

StepCount

Gets the total step count reported for PhaseStart events. 获取 PhaseStart 事件中 TensorRT 报告的总步骤数。

public int StepCount { get; }

Property Value

int