Handbook
Glossary
dims ( tensor -- n )
Tensors
ยป
Manipulating Tensors
Next:
reshape ( tensor shape -- tensor )
Vocabulary
tensors
Inputs
tensor
a
tensor
Outputs
n
an
integer
Word description
Returns the dimension of
tensor
.
Definition
USING:
accessors
sequences
;
IN:
tensors
:
dims
( tensor -- n )
shape>>
length
;