Handbook
Glossary
shape-mismatch-error ( shape1 shape2 -- * )
Vocabulary
tensors
Inputs
shape1
a
sequence
shape2
a
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
IN:
tensors
ERROR:
shape-mismatch-error
shape1 shape2
;