Fed up with trying to imagine chains of tensor transformations in my head, wrote a library to relieve my pain: github.com/hardik-vala/.... Lets you visualize torch, jax, tf, numpy tensors in notebooks and other python contexts, for understanding and debugging. Enjoy.