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