It would be better to have a error code list for debugging.
Then we can raise the errors.
Here are some example errors:
- device not set or not match for input tensors to an operator
- memory not allocated for a tensor
- parameters not created in a layer
- tensor shape not match
- tensor dtype not match
It would be better to have a error code list for debugging.
Then we can raise the errors.
Here are some example errors: