Home / Function/ huge_graph() — pytorch Function Reference

huge_graph() — pytorch Function Reference

Architecture documentation for the huge_graph() function in cache_debug_microbenchmarks.py from the pytorch codebase.

Entity Profile

Dependency Diagram

graph TD
  23307c71_699b_103c_3462_4f7a39e4d8a7["huge_graph()"]
  f822d809_a1bb_d705_8dc6_19fbccf81fbe["main()"]
  f822d809_a1bb_d705_8dc6_19fbccf81fbe -->|calls| 23307c71_699b_103c_3462_4f7a39e4d8a7
  style 23307c71_699b_103c_3462_4f7a39e4d8a7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmarks/dynamo/microbenchmarks/cache_debug_microbenchmarks.py lines 11–17

def huge_graph():
    def fn(x):
        for _ in range(N):
            x = x.sin()
        return x

    return torch.fx.symbolic_trace(fn)

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free