Open source

VisualTorch

Architecture diagrams for PyTorch models, straight from a torch.nn.Module.

Python · MIT license · 341 stars

Layered, graph and LeNet-style views, skip connections, multi-input models and custom colors, made for papers, slides and docs. Installed about 37,000 times from PyPI.

A grid of twelve diagrams generated by VisualTorch, including LeNet-style, flat 2D, 3D volumetric and skip-connection views.