(tensor) ( shape -- tensor )
Tensors ยป Creating Tensors

Prev:arange ( a b step -- tensor )
Next:tensor>array ( tensor: tensor -- seq: array )


Vocabulary
tensors

Inputs
shapea sequence


Outputs
tensora tensor


Word description
Creates a tensor with shape shape containing uninitialized values. Allows non-positive shapes.

Definition