Class TensorRtGlobalRuntimeVersion
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Read-only TensorRT global runtime version details collected without creating a runtime. 无需创建 runtime 即可采集的 TensorRT 全局 runtime 版本信息。
public sealed class TensorRtGlobalRuntimeVersion
- Inheritance
-
TensorRtGlobalRuntimeVersion
- Inherited Members
Properties
Build
Gets the TensorRT infer library build version. 获取 TensorRT infer library build version。
public int Build { get; }
Property Value
HasGlobalLogger
Gets whether TensorRT exposes a non-null global logger pointer. 获取 TensorRT 是否暴露非空全局 logger 指针。
public bool HasGlobalLogger { get; }
Property Value
InferLibVersion
Gets the packed TensorRT infer library version reported by TensorRT. 获取 TensorRT 报告的 packed infer library version。
public int InferLibVersion { get; }
Property Value
Line
Gets the TensorRT API line used for the query. 获取查询使用的 TensorRT API line。
public TensorRtApiLine Line { get; }
Property Value
Major
Gets the TensorRT infer library major version. 获取 TensorRT infer library major version。
public int Major { get; }
Property Value
Minor
Gets the TensorRT infer library minor version. 获取 TensorRT infer library minor version。
public int Minor { get; }
Property Value
OnnxParserVersion
Gets the ONNX parser version reported by TensorRT's parser library. 获取 TensorRT ONNX parser library 报告的版本。
public int OnnxParserVersion { get; }
Property Value
Patch
Gets the TensorRT infer library patch version. 获取 TensorRT infer library patch version。
public int Patch { get; }
Property Value
Methods
ToString()
Formats the global runtime version snapshot for diagnostics. 将全局 runtime 版本快照格式化为便于诊断的字符串。
public override string ToString()