Treescope is an interactive HTML pretty-printer and ND-array/tensor visualiser. Originally designed for penzai neural networks in jax.
- show shapes and the distribution of their values
NDArray
- colour-coding parts of neural network models to emphasise shared structures
render:
- numpy/jax/pytorch
NDArray
/tensor
or penzaiNamedArray
- neural network models
- dicts, lists, tuples, and sets
- dataclasses and namedtuples
- functions
- builtins and literals
- arbitrary pytree types
visualise some arrays
set as default ipython pretty-printer
render to html