{"adoption": {"forks": 49, "observed_at": "2026-08-28T04:03:28.398863+00:00", "stars": 1072}, "canonical_url": "https://ross.abutalabs.com/products/torchview", "card": {"archived": false, "artifact_type": "library", "description": "torchview: visualize pytorch models", "domain": ["deep-learning", "machine-learning", "data-visualization"], "enriched": true, "function": ["data-visualization", "developer-tools"], "health_score": 71, "homepage": "https://mert-kurttutan.github.io/torchview/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["mert-kurttutan/torchview"], "name": "mert-kurttutan/torchview", "platform": ["python", "cross-platform"], "pushed_at": "2026-02-26T13:25:10+00:00", "repo": "mert-kurttutan/torchview", "stars": 1072, "tags": ["pytorch", "graphviz", "model-visualization", "neural-networks", "torchviz"], "topics": ["deep-learning", "keras", "machine-learning", "neural-network", "pytorch", "visualization", "python", "torchviz"], "urls": [], "use_cases": ["visualize pytorch model architecture as a graph", "show input and output shapes of pytorch model layers", "plot pytorch model like keras plot_model", "inspect operations between tensors in a neural network", "visualize large models without consuming memory using meta tensors", "generate architecture diagrams for hugging face models"], "what_it_is": "torchview is a Python library that visualizes PyTorch models as visual graphs, showing tensors, modules, torch functions, and input/output shapes. It is the PyTorch equivalent of Keras's plot_model, supporting meta tensors, RNNs, skip connections, and Hugging Face models.", "when_to_avoid": ["you need training metrics dashboards or profiling rather than architecture graphs", "you work outside PyTorch (e.g., TensorFlow or JAX)", "you cannot install the Graphviz system dependency"], "when_to_choose": ["you need architecture diagrams of PyTorch models with layer shapes", "you want a Keras plot_model equivalent for PyTorch", "you need to visualize very large models without memory overhead via meta tensors", "you want to see tensor operations, not just module calls"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/torchview", "repo": "mert-kurttutan/torchview", "role": "main", "score": 54}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.398863+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:53:42.286479+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a517ebcf6553d882c4bdc00bed5853e338b0c24ec8017561a752108e9527aad3", "fetched_at": "2026-08-28T04:03:28.398863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mert-kurttutan/torchview"}, {"content_hash": "b183506485b2d16f9607033ab9763f8a7f75cae5969b53b8f2a42b957c6bffb0", "fetched_at": "2026-08-29T12:56:03.685331+00:00", "kind": "homepage", "missing": false, "url": "https://mert-kurttutan.github.io/torchview/"}, {"content_hash": "9af94f5c92c6937e36b8b52df9f6c0a816b1572d7c7419a70dd9015e09eb4500", "fetched_at": "2026-08-29T12:56:03.694686+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchview/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.398863+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:53:42.286479+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a517ebcf6553d882c4bdc00bed5853e338b0c24ec8017561a752108e9527aad3", "fetched_at": "2026-08-28T04:03:28.398863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mert-kurttutan/torchview"}, {"content_hash": "b183506485b2d16f9607033ab9763f8a7f75cae5969b53b8f2a42b957c6bffb0", "fetched_at": "2026-08-29T12:56:03.685331+00:00", "kind": "homepage", "missing": false, "url": "https://mert-kurttutan.github.io/torchview/"}, {"content_hash": "9af94f5c92c6937e36b8b52df9f6c0a816b1572d7c7419a70dd9015e09eb4500", "fetched_at": "2026-08-29T12:56:03.694686+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchview/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:53:42.286479+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a517ebcf6553d882c4bdc00bed5853e338b0c24ec8017561a752108e9527aad3", "fetched_at": "2026-08-28T04:03:28.398863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mert-kurttutan/torchview"}, {"content_hash": "b183506485b2d16f9607033ab9763f8a7f75cae5969b53b8f2a42b957c6bffb0", "fetched_at": "2026-08-29T12:56:03.685331+00:00", "kind": "homepage", "missing": false, "url": "https://mert-kurttutan.github.io/torchview/"}, {"content_hash": "9af94f5c92c6937e36b8b52df9f6c0a816b1572d7c7419a70dd9015e09eb4500", "fetched_at": "2026-08-29T12:56:03.694686+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchview/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.398863+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.398863+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.398863+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:53:42.286479+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a517ebcf6553d882c4bdc00bed5853e338b0c24ec8017561a752108e9527aad3", "fetched_at": "2026-08-28T04:03:28.398863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mert-kurttutan/torchview"}, {"content_hash": "b183506485b2d16f9607033ab9763f8a7f75cae5969b53b8f2a42b957c6bffb0", "fetched_at": "2026-08-29T12:56:03.685331+00:00", "kind": "homepage", "missing": false, "url": "https://mert-kurttutan.github.io/torchview/"}, {"content_hash": "9af94f5c92c6937e36b8b52df9f6c0a816b1572d7c7419a70dd9015e09eb4500", "fetched_at": "2026-08-29T12:56:03.694686+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchview/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.398863+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.398863+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:53:42.286479+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a517ebcf6553d882c4bdc00bed5853e338b0c24ec8017561a752108e9527aad3", "fetched_at": "2026-08-28T04:03:28.398863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mert-kurttutan/torchview"}, {"content_hash": "b183506485b2d16f9607033ab9763f8a7f75cae5969b53b8f2a42b957c6bffb0", "fetched_at": "2026-08-29T12:56:03.685331+00:00", "kind": "homepage", "missing": false, "url": "https://mert-kurttutan.github.io/torchview/"}, {"content_hash": "9af94f5c92c6937e36b8b52df9f6c0a816b1572d7c7419a70dd9015e09eb4500", "fetched_at": "2026-08-29T12:56:03.694686+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchview/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.398863+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.398863+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.398863+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:53:42.286479+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a517ebcf6553d882c4bdc00bed5853e338b0c24ec8017561a752108e9527aad3", "fetched_at": "2026-08-28T04:03:28.398863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mert-kurttutan/torchview"}, {"content_hash": "b183506485b2d16f9607033ab9763f8a7f75cae5969b53b8f2a42b957c6bffb0", "fetched_at": "2026-08-29T12:56:03.685331+00:00", "kind": "homepage", "missing": false, "url": "https://mert-kurttutan.github.io/torchview/"}, {"content_hash": "9af94f5c92c6937e36b8b52df9f6c0a816b1572d7c7419a70dd9015e09eb4500", "fetched_at": "2026-08-29T12:56:03.694686+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchview/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.398863+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.398863+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:53:42.286479+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a517ebcf6553d882c4bdc00bed5853e338b0c24ec8017561a752108e9527aad3", "fetched_at": "2026-08-28T04:03:28.398863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mert-kurttutan/torchview"}, {"content_hash": "b183506485b2d16f9607033ab9763f8a7f75cae5969b53b8f2a42b957c6bffb0", "fetched_at": "2026-08-29T12:56:03.685331+00:00", "kind": "homepage", "missing": false, "url": "https://mert-kurttutan.github.io/torchview/"}, {"content_hash": "9af94f5c92c6937e36b8b52df9f6c0a816b1572d7c7419a70dd9015e09eb4500", "fetched_at": "2026-08-29T12:56:03.694686+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchview/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:53:42.286479+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a517ebcf6553d882c4bdc00bed5853e338b0c24ec8017561a752108e9527aad3", "fetched_at": "2026-08-28T04:03:28.398863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mert-kurttutan/torchview"}, {"content_hash": "b183506485b2d16f9607033ab9763f8a7f75cae5969b53b8f2a42b957c6bffb0", "fetched_at": "2026-08-29T12:56:03.685331+00:00", "kind": "homepage", "missing": false, "url": "https://mert-kurttutan.github.io/torchview/"}, {"content_hash": "9af94f5c92c6937e36b8b52df9f6c0a816b1572d7c7419a70dd9015e09eb4500", "fetched_at": "2026-08-29T12:56:03.694686+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchview/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:53:42.286479+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a517ebcf6553d882c4bdc00bed5853e338b0c24ec8017561a752108e9527aad3", "fetched_at": "2026-08-28T04:03:28.398863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mert-kurttutan/torchview"}, {"content_hash": "b183506485b2d16f9607033ab9763f8a7f75cae5969b53b8f2a42b957c6bffb0", "fetched_at": "2026-08-29T12:56:03.685331+00:00", "kind": "homepage", "missing": false, "url": "https://mert-kurttutan.github.io/torchview/"}, {"content_hash": "9af94f5c92c6937e36b8b52df9f6c0a816b1572d7c7419a70dd9015e09eb4500", "fetched_at": "2026-08-29T12:56:03.694686+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchview/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:53:42.286479+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a517ebcf6553d882c4bdc00bed5853e338b0c24ec8017561a752108e9527aad3", "fetched_at": "2026-08-28T04:03:28.398863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mert-kurttutan/torchview"}, {"content_hash": "b183506485b2d16f9607033ab9763f8a7f75cae5969b53b8f2a42b957c6bffb0", "fetched_at": "2026-08-29T12:56:03.685331+00:00", "kind": "homepage", "missing": false, "url": "https://mert-kurttutan.github.io/torchview/"}, {"content_hash": "9af94f5c92c6937e36b8b52df9f6c0a816b1572d7c7419a70dd9015e09eb4500", "fetched_at": "2026-08-29T12:56:03.694686+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchview/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 69, "longevity": 99, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1394, "days_push": 188, "days_rel": 673, "gap_med": null, "n_releases_24m": 1}, "score": 54, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}