Vocabulary
tensors

Inputs
shapea 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