Class TensorRtErrorRecord
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Represents one copied TensorRT error-recorder entry. 表示一条已复制到托管内存的 TensorRT error-recorder 记录。
public sealed class TensorRtErrorRecord
- Inheritance
-
TensorRtErrorRecord
- Inherited Members
Properties
Code
Gets the raw TensorRT error code value. 获取 TensorRT error code 的原始数值。
public int Code { get; }
Property Value
Description
Gets the copied error description. 获取已复制的错误描述。
public string Description { get; }
Property Value
Index
Gets the zero-based error index reported by TensorRT. 获取 TensorRT 报告的从零开始的错误索引。
public int Index { get; }
Property Value
Methods
ToString()
Converts the error record to a compact diagnostic string. 转换为简短诊断字符串。
public override string ToString()
Returns
- string
A compact diagnostic string. 简短诊断字符串。