Error Codes¶
Most functions return a value of type mli_status. This is an enumeration type with fields as described in table mli_status Enum Fields.
Field name |
value |
Description |
---|---|---|
|
|
No error occurred |
|
Invalid tensor is passed to the function |
|
|
The shapes or rank of the tensors are not compatible with this function |
|
|
Some parameters of the tensors are not compatible with this function |
|
|
Invalid configuration is passed to the function |
|
|
Capacity of the output tensor is not enough for the function result |
|
|
Function is not implemented for this combination of inputs |
|
|
Configuration of the function does not match the specialization |
|
|
A passed by reference parameter is NULL |
|
|
The datatype of the tensors does not match the function specialization |
|
|
|
Dummy field to prevent size optimizations of public enums |