Home / Function/ get_field() — pytorch Function Reference

get_field() — pytorch Function Reference

Architecture documentation for the get_field() function in check_graph_breaks.py from the pytorch codebase.

Entity Profile

Dependency Diagram

graph TD
  99ef966d_922f_ec05_2b7f_c4712248f221["get_field()"]
  c2499662_63b5_de3b_96c4_b5056c5f7e2b["check_graph_breaks()"]
  c2499662_63b5_de3b_96c4_b5056c5f7e2b -->|calls| 99ef966d_922f_ec05_2b7f_c4712248f221
  style 99ef966d_922f_ec05_2b7f_c4712248f221 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmarks/dynamo/check_graph_breaks.py lines 19–23

def get_field(csv, model_name: str, field: str):
    try:
        return csv.loc[csv["name"] == model_name][field].item()
    except Exception:
        return None

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free