Home / Function/ huge_graph() — pytorch Function Reference

huge_graph() — pytorch Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

benchmarks/dynamo/microbenchmarks/fx_microbenchmarks.py lines 10–16

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