Tensor Playground
tensor • shape • dtype • indexing • broadcasting
🧱 Tensor Playground (Beautiful Mode)
Hover everything • Do missions • Feel the ops.
🎮 XP
Combo: 0
Solve missions to gain XP + combo.
shape
[2, 3]
numel = 6
dtype
float32-ish
numbers type
device
cpu
CPU (laptop)
Mission
#1
⏳ not yet
🧑‍🏫 Guide Mode
Mission 1: Make a VECTOR of length 6 (shape [6]) using reshape.
Hint: Choose reshape and set it to [6,1] or [1,6].
🎞️ Tensor Arena
Event-driven animations (not random). Operation mode: none
Base Tensor (Tensor?)
Hover tiles: tensors are just numbers in boxes.
1
[0,0]
2
[0,1]
3
[0,2]
4
[1,0]
5
[1,1]
6
[1,2]
Result Tensor
Hover tiles: tensors are just numbers in boxes.
2
[0,0]
3
[0,1]
4
[0,2]
5
[1,0]
6
[1,1]
7
[1,2]
Hover words: reshape, transpose, permute, broadcast, reduce, mask.
🛠️ Control Room
Hover the labels to learn. Correct controls glow in missions.
Preset
Operation
✨ What this operation does
Hover the title to read a kid-friendly explanation.
Scalar Power
This affects EVERY tile (watch sparks when you change it).
📜 Debug Text View
[1, 2, 3]
[4, 5, 6]