tensors vocabulary
Factor handbook ยป Vocabulary index


Documentation
Tensors

Words

Tuple classes
ClassSuperclassSlots
dimension-mismatch-error tupletensor-dim index-dim
non-positive-shape-error tupleshape
non-uniform-seq-error tupleseq
shape-mismatch-error tupleshape1 shape2
tensor tupleshape vec


Parsing words
WordSyntax
t{t{ elements... }


Ordinary words
WordStack effect
(tensor)( shape -- tensor )
>tensor( seq -- tensor )
arange( a b step -- tensor )
dimension-mismatch-error( tensor-dim index-dim -- * )
dims( tensor -- n )
flatten( tensor -- tensor )
hstack( seq -- tensor )
matmul( tensor1: tensor tensor2: tensor -- tensor3: tensor )
naturals( shape -- tensor )
non-positive-shape-error( shape -- * )
non-uniform-seq-error( seq -- * )
ones( shape -- tensor )
reshape( tensor shape -- tensor )
shape-mismatch-error( shape1 shape2 -- * )
stack( seq -- tensor )
t%( x y -- tensor )
t*( x y -- tensor )
t+( x y -- tensor )
t-( x y -- tensor )
t-concat( seq -- tensor )
t/( x y -- tensor )
tensor>array( tensor: tensor -- seq: array )
transpose( tensor: tensor -- tensor': tensor )
vstack( seq -- tensor )
zeros( shape -- tensor )


Class predicate words
WordStack effect
dimension-mismatch-error?( object -- ? )
non-positive-shape-error?( object -- ? )
non-uniform-seq-error?( object -- ? )
shape-mismatch-error?( object -- ? )
tensor?( object -- ? )


Files


Children from resource:extra
VocabularySummary
tensors.benchmark
tensors.demos


Children
VocabularySummary
tensors.private