Home / Function/ toDouble() — pytorch Function Reference

toDouble() — pytorch Function Reference

Architecture documentation for the toDouble() function in IValue.java from the pytorch codebase.

Entity Profile

Dependency Diagram

graph TD
  e5cdea31_f15d_0a7c_ead9_98382b2f71d9["toDouble()"]
  5776f59b_54a2_1fc4_cfae_d6757e07d6b1["preconditionType()"]
  e5cdea31_f15d_0a7c_ead9_98382b2f71d9 -->|calls| 5776f59b_54a2_1fc4_cfae_d6757e07d6b1
  style e5cdea31_f15d_0a7c_ead9_98382b2f71d9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

android/pytorch_android/src/main/java/org/pytorch/IValue.java lines 269–273

  @DoNotStrip
  public double toDouble() {
    preconditionType(TYPE_CODE_DOUBLE, mTypeCode);
    return (double) mData;
  }

Subdomains

Frequently Asked Questions

What does toDouble() do?
toDouble() is a function in the pytorch codebase.
What does toDouble() call?
toDouble() calls 1 function(s): preconditionType.

Analyze Your Own Codebase

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

Try Supermodel Free