Unify the error code
Open
enhancement
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
It would be better to have a error code list for debugging.
Then we can raise the errors.
Here are some example errors:
1. device not set or not match for input tensors to an operator
2. memory not allocated for a tensor
3. parameters not created in a layer
4. tensor shape not match
5. tensor dtype not match
Contributor guide
Assessment
This issue has not been assessed yet.