Table of Contents

Class TensorRtInferenceExecutionSummary

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Summarizes one TensorRT inference enqueue attempt. 汇总一次 TensorRT 推理 enqueue 操作。

public sealed class TensorRtInferenceExecutionSummary
Inheritance
TensorRtInferenceExecutionSummary
Inherited Members

Properties

BoundTensorCount

Gets the number of CUDA buffers bound before enqueue. 获取 enqueue 前已绑定的 CUDA 缓冲区数量。

public int BoundTensorCount { get; }

Property Value

int

ProfileIndex

Gets the optimization profile used by the binding set. 获取绑定集使用的 optimization profile。

public int ProfileIndex { get; }

Property Value

int

Readiness

Gets the readiness snapshot captured before enqueue. 获取 enqueue 前采集的就绪状态快照。

public TensorRtExecutionContextReadiness Readiness { get; }

Property Value

TensorRtExecutionContextReadiness

Synchronized

Gets whether the CUDA stream was synchronized before returning. 获取返回前是否已同步 CUDA stream。

public bool Synchronized { get; }

Property Value

bool

Methods

ToString()

Gets a short human-readable summary for logs. 获取用于日志的简短可读摘要。

public override string ToString()

Returns

string

A summary line. 摘要文本。