exceptions
torch_to_nnef.exceptions
Regroup all Exceptions that can happen in torch_to_nnef.
rational
Can catch all package related error with an except T2NError same apply for tract errors with except T2NErrorTract
This library is embedded in others codebase: Errors should be specific to be catchable so no builtin Exception should be raised
T2NError
Bases: Exception
Generic error that all errors in this lib inherit.
T2NErrorImport
Bases: T2NError
Import error that all errors in this lib inherit.
T2NErrorInvalidArgument
Bases: ValueError
, T2NError
specification of torch_to_nnef export not respected.
T2NErrorNotFoundFile
Bases: ValueError
, T2NError
missing exit for file path.