Home / Function/ getDataAsLongArray() — pytorch Function Reference

getDataAsLongArray() — pytorch Function Reference

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

Function java AndroidRuntime TensorAPI calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  3e0df699_4fdf_5071_fd9b_b5a545035078["getDataAsLongArray()"]
  2cc56e55_da12_e088_2ca5_095e3a83a2ef["getDataAsLongArray()"]
  2cc56e55_da12_e088_2ca5_095e3a83a2ef -->|calls| 3e0df699_4fdf_5071_fd9b_b5a545035078
  2cc56e55_da12_e088_2ca5_095e3a83a2ef["getDataAsLongArray()"]
  3e0df699_4fdf_5071_fd9b_b5a545035078 -->|calls| 2cc56e55_da12_e088_2ca5_095e3a83a2ef
  style 3e0df699_4fdf_5071_fd9b_b5a545035078 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

android/pytorch_android/src/main/java/org/pytorch/Tensor.java lines 467–470

  public long[] getDataAsLongArray() {
    throw new IllegalStateException(
        "Tensor of type " + getClass().getSimpleName() + " cannot return data as long array.");
  }

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free