Handbook
Glossary
non-positive-shape-error ( shape -- * )
Vocabulary
tensors
Inputs
shape
a
sequence
Outputs
None
Word description
Throws a
non-positive-shape-error
.
Error description
Thrown by operations such as
zeros
,
ones
,
naturals
, and
reshape
, which allow users to directly set the shape of a
tensor
, when the shape has zero or negative values.
Definition
IN:
tensors
ERROR:
non-positive-shape-error
shape
;