Skip to content

Unify the error code #690

Description

@nudles

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions