Home / Function/ print_summary() — pytorch Function Reference

print_summary() — pytorch Function Reference

Architecture documentation for the print_summary() function in common.py from the pytorch codebase.

Entity Profile

Dependency Diagram

graph TD
  df80f087_87ce_4dd9_9608_6e91a50bec23["print_summary()"]
  bf029f88_db70_e8df_06de_66d5b0f31c56["print_summary()"]
  bf029f88_db70_e8df_06de_66d5b0f31c56 -->|calls| df80f087_87ce_4dd9_9608_6e91a50bec23
  bf029f88_db70_e8df_06de_66d5b0f31c56["print_summary()"]
  df80f087_87ce_4dd9_9608_6e91a50bec23 -->|calls| bf029f88_db70_e8df_06de_66d5b0f31c56
  style df80f087_87ce_4dd9_9608_6e91a50bec23 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmarks/dynamo/common.py lines 796–799

    def print_summary(cls):
        for k, v in sorted(cls.totals.items()):
            lines = "\n  ".join(map(str, v.most_common(50)))
            print(f"STATS {k}\n  {lines}")

Subdomains

Called By

Frequently Asked Questions

What does print_summary() do?
print_summary() is a function in the pytorch codebase.
What does print_summary() call?
print_summary() calls 1 function(s): print_summary.
What calls print_summary()?
print_summary() is called by 1 function(s): print_summary.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free