shape-mismatch-error ( shape1 shape2 -- * )


Vocabulary
tensors

Inputs
shape1a sequence
shape2a sequence


Outputs
None

Word description
Throws a shape-mismatch-error.

Error description
Thrown by element-wise operations such as t+, t-, t*, t/, and t% as well as matrix operations such as matmul if two tensors are passed and they cannot be combined as desired because of a difference in the shape.

Definition