⚔️ Slicing & Indexing Visualizer

Watch a glowing blade cut through a 3D tensor along X, Y and Z ranges — the selected sub-block flies out and zooms in.

📋 How To Use This Lab
  1. Set Start and End for each axis (X, Y, Z) — this is exactly t[x0:x1, y0:y1, z0:z1].
  2. Slicer swings the blade and the matching cells glow — everything else dims out.
  3. The selected sub-block flies into the Extracted Slice panel, zoomed in with its own real shape.
  4. Try setting a Start equal to or past its End — PyTorch doesn't error, it just returns an empty tensor.
Slicer Full Tensor shape (4, 4, 4) Extracted Slice Empty tensor (0 elements)
🤖 SLICER
🧑‍🏫 PROF. TORCH

🎛️ Choose a Slice Range (per axis, size 4 each)

X axis (columns)
Y axis (rows)
Z axis (depth)