{"adoption": {"forks": 138, "observed_at": "2026-08-28T04:07:31.797030+00:00", "stars": 2947}, "canonical_url": "https://ross.abutalabs.com/products/torchinfo", "card": {"archived": false, "artifact_type": "library", "description": "View model summaries in PyTorch!", "domain": ["deep-learning", "machine-learning", "developer-tools"], "enriched": true, "function": ["data-visualization", "developer-tools", "machine-learning"], "health_score": 80, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["TylerYep/torchinfo"], "name": "TylerYep/torchinfo", "platform": ["python"], "pushed_at": "2026-08-26T05:52:19+00:00", "repo": "TylerYep/torchinfo", "stars": 2947, "tags": ["pytorch", "model-summary", "torchsummary", "debugging", "neural-networks"], "topics": ["pytorch", "torchsummary", "torch", "keras", "visualization", "torchvision", "torch-summary", "torchinfo", "python"], "urls": [], "use_cases": ["view pytorch model summary like keras", "count parameters in a pytorch model", "inspect layer shapes of a neural network", "debug pytorch network architecture", "estimate model compute with mult-adds", "replace torchsummary with maintained alternative"], "what_it_is": "torchinfo is a Python library that provides Keras-style model summaries for PyTorch, showing layer types, input/output shapes, parameter counts, and multiply-add operations. It is a rewritten successor to torchsummary with a cleaner API for inspecting and debugging neural network architectures.", "when_to_avoid": ["you use TensorFlow/Keras, which has model.summary() built in", "you need full computational graph visualization rather than a tabular summary", "you require support for very old Python or PyTorch versions no longer backported"], "when_to_choose": ["you need a detailed, maintained model summary for PyTorch models", "you want parameter counts and FLOPs per layer for debugging", "you miss TensorFlow's model.summary() when working in PyTorch"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/torchinfo", "repo": "TylerYep/torchinfo", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.797030+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:32:45.923898+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5f67e487280839e08e049b0b60f7c9a1f66c8d376675ddbf8fe8f99e316ca7aa", "fetched_at": "2026-08-28T04:07:31.797030+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TylerYep/torchinfo"}, {"content_hash": "095391b5cc77896a6556d16605f81439b4cbd34f774f48f97296866e0b5489e2", "fetched_at": "2026-08-29T09:47:59.934797+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchinfo/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.797030+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:32:45.923898+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5f67e487280839e08e049b0b60f7c9a1f66c8d376675ddbf8fe8f99e316ca7aa", "fetched_at": "2026-08-28T04:07:31.797030+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TylerYep/torchinfo"}, {"content_hash": "095391b5cc77896a6556d16605f81439b4cbd34f774f48f97296866e0b5489e2", "fetched_at": "2026-08-29T09:47:59.934797+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchinfo/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:32:45.923898+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5f67e487280839e08e049b0b60f7c9a1f66c8d376675ddbf8fe8f99e316ca7aa", "fetched_at": "2026-08-28T04:07:31.797030+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TylerYep/torchinfo"}, {"content_hash": "095391b5cc77896a6556d16605f81439b4cbd34f774f48f97296866e0b5489e2", "fetched_at": "2026-08-29T09:47:59.934797+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchinfo/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:07:31.797030+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.797030+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.797030+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:32:45.923898+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5f67e487280839e08e049b0b60f7c9a1f66c8d376675ddbf8fe8f99e316ca7aa", "fetched_at": "2026-08-28T04:07:31.797030+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TylerYep/torchinfo"}, {"content_hash": "095391b5cc77896a6556d16605f81439b4cbd34f774f48f97296866e0b5489e2", "fetched_at": "2026-08-29T09:47:59.934797+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchinfo/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.797030+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.797030+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:32:45.923898+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5f67e487280839e08e049b0b60f7c9a1f66c8d376675ddbf8fe8f99e316ca7aa", "fetched_at": "2026-08-28T04:07:31.797030+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TylerYep/torchinfo"}, {"content_hash": "095391b5cc77896a6556d16605f81439b4cbd34f774f48f97296866e0b5489e2", "fetched_at": "2026-08-29T09:47:59.934797+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchinfo/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.797030+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.797030+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.797030+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:32:45.923898+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5f67e487280839e08e049b0b60f7c9a1f66c8d376675ddbf8fe8f99e316ca7aa", "fetched_at": "2026-08-28T04:07:31.797030+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TylerYep/torchinfo"}, {"content_hash": "095391b5cc77896a6556d16605f81439b4cbd34f774f48f97296866e0b5489e2", "fetched_at": "2026-08-29T09:47:59.934797+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchinfo/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.797030+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.797030+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:32:45.923898+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5f67e487280839e08e049b0b60f7c9a1f66c8d376675ddbf8fe8f99e316ca7aa", "fetched_at": "2026-08-28T04:07:31.797030+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TylerYep/torchinfo"}, {"content_hash": "095391b5cc77896a6556d16605f81439b4cbd34f774f48f97296866e0b5489e2", "fetched_at": "2026-08-29T09:47:59.934797+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchinfo/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:32:45.923898+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5f67e487280839e08e049b0b60f7c9a1f66c8d376675ddbf8fe8f99e316ca7aa", "fetched_at": "2026-08-28T04:07:31.797030+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TylerYep/torchinfo"}, {"content_hash": "095391b5cc77896a6556d16605f81439b4cbd34f774f48f97296866e0b5489e2", "fetched_at": "2026-08-29T09:47:59.934797+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchinfo/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:32:45.923898+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5f67e487280839e08e049b0b60f7c9a1f66c8d376675ddbf8fe8f99e316ca7aa", "fetched_at": "2026-08-28T04:07:31.797030+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TylerYep/torchinfo"}, {"content_hash": "095391b5cc77896a6556d16605f81439b4cbd34f774f48f97296866e0b5489e2", "fetched_at": "2026-08-29T09:47:59.934797+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchinfo/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:32:45.923898+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5f67e487280839e08e049b0b60f7c9a1f66c8d376675ddbf8fe8f99e316ca7aa", "fetched_at": "2026-08-28T04:07:31.797030+00:00", "kind": "readme", "missing": false, "url": "https://github.com/TylerYep/torchinfo"}, {"content_hash": "095391b5cc77896a6556d16605f81439b4cbd34f774f48f97296866e0b5489e2", "fetched_at": "2026-08-29T09:47:59.934797+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchinfo/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "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": 2361, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}