Tensors can be created by calling one of following constructors:

They can be converted to/from the corresponding N-dimensional array with

There is also a tensor parsing word

zeros ( shape -- tensor )

ones ( shape -- tensor )

naturals ( shape -- tensor )

arange ( a b step -- tensor )

(tensor) ( shape -- tensor )

They can be converted to/from the corresponding N-dimensional array with

tensor>array ( tensor: tensor -- seq: array )

>tensor ( seq -- tensor )

There is also a tensor parsing word

t{

This documentation was generated offline from a
`load-all`

image. If you want, you can also
browse the documentation from within the UI developer tools. See
the Factor website
for more information.

Factor 0.100 x86.64 (2240, heads/master-b90c89f82e, Sep 26 2023 19:59:25)