mert-kurttutan/torchview

torchview: visualize pytorch models

62
/ 100
Established

This tool helps machine learning engineers and researchers understand the internal structure of their PyTorch neural network models. It takes your PyTorch model definition and visualizes it as a clear graph, showing how data tensors flow between different layers and operations. You get a visual diagram that makes it easier to debug and optimize complex models.

1,038 stars. Used by 3 other packages. Available on PyPI.

Use this if you need a clear visual representation of your PyTorch model's architecture, including tensor shapes and module interactions.

Not ideal if you are looking for performance monitoring, training metrics visualization, or an interactive debugging environment beyond model structure.

deep-learning neural-networks model-architecture machine-learning-engineering pytorch
Maintenance 10 / 25
Adoption 13 / 25
Maturity 25 / 25
Community 14 / 25

How are scores calculated?

Stars

1,038

Forks

47

Language

Python

License

MIT

Last pushed

Feb 26, 2026

Commits (30d)

0

Dependencies

1

Reverse dependents

3

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/mert-kurttutan/torchview"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.