Class | Superclass | Slots |
dimension-mismatch-error | tuple | tensor-dim index-dim |
non-positive-shape-error | tuple | shape |
non-uniform-seq-error | tuple | seq |
shape-mismatch-error | tuple | shape1 shape2 |
tensor | tuple | shape vec |
Word | Syntax |
t{ | t{ elements... } |
Word | Stack 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 ) |
Word | Stack effect |
dimension-mismatch-error? | ( object -- ? ) |
non-positive-shape-error? | ( object -- ? ) |
non-uniform-seq-error? | ( object -- ? ) |
shape-mismatch-error? | ( object -- ? ) |
tensor? | ( object -- ? ) |
Vocabulary | Summary |
tensors.benchmark | |
tensors.demos |