Home / Function/ getDataAsDoubleArray() — pytorch Function Reference

getDataAsDoubleArray() — pytorch Function Reference

Architecture documentation for the getDataAsDoubleArray() function in Tensor.java from the pytorch codebase.

Function java AndroidRuntime JavaAPI calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  e4338a4e_3c0b_ec1c_28cc_62966b6e1385["getDataAsDoubleArray()"]
  8856b948_ba98_ae8b_ca4b_077c1b3a7457["getDataAsDoubleArray()"]
  8856b948_ba98_ae8b_ca4b_077c1b3a7457 -->|calls| e4338a4e_3c0b_ec1c_28cc_62966b6e1385
  8856b948_ba98_ae8b_ca4b_077c1b3a7457["getDataAsDoubleArray()"]
  e4338a4e_3c0b_ec1c_28cc_62966b6e1385 -->|calls| 8856b948_ba98_ae8b_ca4b_077c1b3a7457
  style e4338a4e_3c0b_ec1c_28cc_62966b6e1385 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

android/pytorch_android/src/main/java/org/pytorch/Tensor.java lines 665–671

    @Override
    public double[] getDataAsDoubleArray() {
      data.rewind();
      double[] arr = new double[data.remaining()];
      data.get(arr);
      return arr;
    }

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free