Class TensorRtException
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Base exception for TensorRT bridge operations. TensorRT bridge 操作的基础异常类型。
public class TensorRtException : NativeBridgeException, ISerializable
- Inheritance
-
TensorRtException
- Implements
- Derived
- Inherited Members
Constructors
TensorRtException(BridgeStatusCode, BridgeErrorCategory, string)
Initializes a TensorRT bridge exception from bridge status information. 使用 bridge 状态信息初始化 TensorRT 异常。
public TensorRtException(BridgeStatusCode statusCode, BridgeErrorCategory errorCategory, string message)
Parameters
statusCodeBridgeStatusCodeThe bridge status code. Bridge 状态码。
errorCategoryBridgeErrorCategoryThe bridge error category. Bridge 错误分类。
messagestringThe human-readable error message. 可读错误消息。