π Flattening Visualizer
Watch each number slide β slowly, one at a time β from its 3D spot into a flat chain.
π How To Use This Lab
Look at the two grids up top β that's your 3D tensor:
2 separate channels
, each a 3Γ3 grid.
Pick
Start Dim
and
End Dim
below
β
those axes will merge into one.
Press the big
βΆ Play Unfold
button
β
watch every number slide, one at a time, into its new flat position.
Try
Start Dim = End Dim
β
nothing moves at all β that's a real no-op.
(2, 3, 3)
β
(2, 9)
Original Tensor β 2 Channels
Channel 0
Channel 1
Flattened Output
βΆ Play Unfold
β Previous Pattern
Next Pattern βΆ
Auto Run All βΆβΆ
βΊ Reset
π€ FOLD
Press βΆ Play Unfold β I'll slide every number, one at a time, into its real new position.
π§βπ« PROF. TORCH
Flatten never reorders memory β it's just a view that merges dimensions, so the data order stays identical.
ποΈ Choose Dimensions to Merge
Start Dim
0 β Channel
1 β Height
2 β Width
End Dim
0 β Channel
1 β Height
2 β Width