Home / Function/ cast_to_fp64() — pytorch Function Reference

cast_to_fp64() — pytorch Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  9bd4562a_1ec6_51d8_c28f_de00fc66199a["cast_to_fp64()"]
  79f63331_206c_51dc_bfd1_4fd84b939754["check_accuracy()"]
  79f63331_206c_51dc_bfd1_4fd84b939754 -->|calls| 9bd4562a_1ec6_51d8_c28f_de00fc66199a
  bbf77550_9fd0_5fa7_61ba_9de1b1cde65f["cast_to()"]
  9bd4562a_1ec6_51d8_c28f_de00fc66199a -->|calls| bbf77550_9fd0_5fa7_61ba_9de1b1cde65f
  style 9bd4562a_1ec6_51d8_c28f_de00fc66199a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmarks/dynamo/common.py lines 1706–1707

def cast_to_fp64(model, inputs):
    return cast_to(torch.float64, model, inputs)

Subdomains

Calls

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free