Treescope is an interactive HTML pretty-printer and N-dimensional array ("tensor") visualizer, designed for machine learning and neural networks research in IPython notebooks. It's a drop-in replacement for the standard IPython/Colab renderer, and adds support for: Expanding and collapsing subtrees of rendered objects, to let you focus on the parts of your model that you care about, Automatically