non-positive-shape-error ( shape -- * )


Vocabulary
tensors

Inputs and outputs
shapea sequence


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