๐งฑ Reshape & View Visualizer
Watch tensor memory blocks physically rearrange into new rows & columns โ the same data, a different shape, never losing count.
๐ How To Use This Lab
- The top strip is the underlying memory โ 12 fixed values that never move or get copied.
- Drag the Rows and Columns sliders โ Shifty pulls blocks from memory into a new grid below.
- If rows ร columns โ 12, the sliders and grid turn red โ exactly like a real PyTorch shape error.
- Notice the block values are always the same 12 numbers, just arranged differently โ that's what view() means.
๐ค SHIFTY
๐งโ๐ซ PROF. TORCH
๐๏ธ Choose a New Shape