Reference guides
latest (dev)
Copy
Latest development documentation · Updated 2026-10-15
Index
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Z
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?
foreach operations
foreach operations lift an ordinary tensor operation over a whole list of tensors in one call. tensorplay._foreach_add(tensors, other) is semantically equivalent to a Python loop applying tensorplay.add at each list posi
Meta device
The “meta” device is an abstract device whose tensors record only metadata — shape, dtype, strides — and no data. Meta tensors answer “what would the result look like” without spending compute or memory on values, which

