✂️ Detaching Tensors Visualizer

Click any computed node to cut its wire to the graph — watch tracking recompute live, downstream.

📋 How To Use This Lab
  1. Click on node p or f a menu appears with a Detach option.
  2. Select it animated scissors cut that node's incoming wires, and it goes grey.
  3. Click a detached node again you can Reattach it, undoing the cut.
  4. Try detaching p alone watch f stay bright anyway, because x still feeds it directly!
Snip
🤖 SNIPClick on p or f to open the detach menu — I'll cut the wire with real scissors.
🧑‍🏫 PROF. TORCHdetach() returns a tensor sharing the same data but with no grad_fn — it's disconnected from autograd, not deleted.