Model Menagerie

27,715 neural networks found in papers and code, 6,807 of them drawn here, each traced with TorchLens and checked operation by operation (as of 30 November 2026). Dataset release v2026-11-30.

AlexNet, unrolled computational graph
AlexNet Image classification, 22 operations

Well-known architectures

Browse by task

Draw your own model

Every diagram on this site was drawn by TorchLens. Install TorchLens and Graphviz, then run this Python code with your PyTorch model as model and an example input as x.

pip install torchlens
# and Graphviz: brew install graphviz (macOS) or sudo apt install graphviz (Debian, Ubuntu)
import torchlens as tl

trace = tl.trace(model, x)
trace.draw()