OnnxConvertException 类

与 ONNX 转换相关的异常。

构造新的 ClientException。

继承
OnnxConvertException

构造函数

OnnxConvertException(exception_message='', target=None, **kwargs)

参数

exception_message
str
必需

描述错误的消息。

inner_exception
str
必需

可选消息,例如来自以前处理的异常的消息。

target
str
默认值: None

导致引发异常的元素的名称。

details
str
必需

有关该错误的其他信息,例如其他错误响应或堆栈跟踪。

exception_message
必需

有关异常的详细信息。

target
必需

导致引发异常的元素名称。