Coverage for onnxcustom/training/excs.py: 100%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""
2@file
3@brief Exceptions.
4"""
7class ConvergenceError(RuntimeError):
8 """
9 Raised when a learning algorithm failed
10 to converge.
11 """
12 pass
15class ConvergenceWarning(UserWarning):
16 """
17 Raised when a learning algorithm failed
18 to converge.
19 """
20 pass
23class EvaluationError(RuntimeError):
24 """
25 Raised when an evaluation failed.
26 """
27 pass
30class ProviderError(RuntimeError):
31 """
32 Raised when an input is not on the expected device (CPU, GPU).
33 """
34 pass