Error codes for reshape.
No error
Slice should be not empty
Total element count should be the same
Structure is incompatible with new shape
See Implementation
Error codes for reshape.