Home / Function/ Tensor_float32() — pytorch Function Reference

Tensor_float32() — pytorch Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d0541c55_e071_388a_6fbc_230dd801b1c2["Tensor_float32()"]
  fff97aed_e384_1976_ed4b_d94a2ed220dd["fromBlob()"]
  fff97aed_e384_1976_ed4b_d94a2ed220dd -->|calls| d0541c55_e071_388a_6fbc_230dd801b1c2
  41a84db6_8612_e249_8a37_5e6e3edc69db["nativeNewTensor()"]
  41a84db6_8612_e249_8a37_5e6e3edc69db -->|calls| d0541c55_e071_388a_6fbc_230dd801b1c2
  style d0541c55_e071_388a_6fbc_230dd801b1c2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

android/pytorch_android/src/main/java/org/pytorch/Tensor.java lines 586–589

    Tensor_float32(FloatBuffer data, long[] shape, MemoryFormat memoryFormat) {
      super(shape, memoryFormat);
      this.data = data;
    }

Subdomains

Frequently Asked Questions

What does Tensor_float32() do?
Tensor_float32() is a function in the pytorch codebase.
What calls Tensor_float32()?
Tensor_float32() is called by 2 function(s): fromBlob, nativeNewTensor.

Analyze Your Own Codebase

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

Try Supermodel Free