Errors

Errors#

einx.errors.SyntaxError

This error occurs if einx operations encounter invalid syntax in an expression.

einx.errors.RankError

This error occurs if the ranks (i.e. number of dimensions) of all expressions cannot be determined under the given input tensor shapes and additional constraints.

einx.errors.AxisSizeError

This error occurs if the size of all axes in an einx expression cannot be determined under the given input tensor shapes and additional constraints.

einx.errors.SemanticError

This error occurs if the expression requirements of a particular einx operation are not met.

einx.errors.OperationNotSupportedError

This error occurs if an einx operation is not supported by the selected backend.

einx.errors.ImportBackendError

This error occurs if a requested backend failed to be imported or initialized.

einx.errors.BackendResolutionError

This error occurs if the backend with which to execute an einx operation could not be determined.

einx.errors.CallOperationError

This error occurs if the Python function that einx compiles for an einx operation fails to execute.