Coverage for mlprodict/onnxrt/ops_shape/shape_excs.py: 100%
8 statements
« prev ^ index » next coverage.py v7.1.0, created at 2023-02-04 02:28 +0100
« prev ^ index » next coverage.py v7.1.0, created at 2023-02-04 02:28 +0100
1"""
2@file
3@brief Errors and exceptions for @see cl OnnxShapeInference.
4"""
7class ShapeInferenceException(RuntimeError):
8 """
9 Raised when shape inference fails.
10 """
11 pass
14class ShapeInferenceMissing(RuntimeError):
15 """
16 Raised when an operator is missing.
17 """
18 pass
21class NotImplementedShapeInferenceError(NotImplementedError):
22 """
23 Shape Inference can be implemented but is currently not.
24 """
25 pass
28class ShapeInferenceDimensionError(RuntimeError):
29 """
30 Raised when the shape cannot continue
31 due to unknown dimension.
32 """
33 pass