get_tolerance_and_cosine_flag() — pytorch Function Reference
Architecture documentation for the get_tolerance_and_cosine_flag() function in common.py from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD 4ed3d19d_5919_8dac_36a3_c8fbf9eb090b["get_tolerance_and_cosine_flag()"] 79f63331_206c_51dc_bfd1_4fd84b939754["check_accuracy()"] 79f63331_206c_51dc_bfd1_4fd84b939754 -->|calls| 4ed3d19d_5919_8dac_36a3_c8fbf9eb090b a3bd5d33_16f5_252a_6395_eedbd64f28e7["get_tolerance_and_cosine_flag()"] a3bd5d33_16f5_252a_6395_eedbd64f28e7 -->|calls| 4ed3d19d_5919_8dac_36a3_c8fbf9eb090b style 4ed3d19d_5919_8dac_36a3_c8fbf9eb090b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
benchmarks/dynamo/common.py lines 1956–1957
def get_tolerance_and_cosine_flag(self, is_training, current_device, name):
raise NotImplementedError
Domain
Subdomains
Source
Frequently Asked Questions
What does get_tolerance_and_cosine_flag() do?
get_tolerance_and_cosine_flag() is a function in the pytorch codebase.
What calls get_tolerance_and_cosine_flag()?
get_tolerance_and_cosine_flag() is called by 2 function(s): check_accuracy, get_tolerance_and_cosine_flag.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free