Tensor() — pytorch Function Reference
Architecture documentation for the Tensor() function in Tensor.java from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD 84782774_5716_4468_9ff1_c032204897d3["Tensor()"] 4dddc431_e167_7548_34d1_5575ffcdb665["toString()"] 4dddc431_e167_7548_34d1_5575ffcdb665 -->|calls| 84782774_5716_4468_9ff1_c032204897d3 ef0be393_4a47_ee7d_184b_be98c43edaac["toString()"] ef0be393_4a47_ee7d_184b_be98c43edaac -->|calls| 84782774_5716_4468_9ff1_c032204897d3 c2aaeebb_3e09_4ef1_d065_8e35d49ff0b9["toString()"] c2aaeebb_3e09_4ef1_d065_8e35d49ff0b9 -->|calls| 84782774_5716_4468_9ff1_c032204897d3 79c0b6b9_56b7_c78b_99f1_2d798f55338b["toString()"] 79c0b6b9_56b7_c78b_99f1_2d798f55338b -->|calls| 84782774_5716_4468_9ff1_c032204897d3 132164df_c207_d0cf_c2fa_0df0635f3a0b["toString()"] 132164df_c207_d0cf_c2fa_0df0635f3a0b -->|calls| 84782774_5716_4468_9ff1_c032204897d3 45c3c069_9aa8_f020_71b8_bcc433f7d6e6["toString()"] 45c3c069_9aa8_f020_71b8_bcc433f7d6e6 -->|calls| 84782774_5716_4468_9ff1_c032204897d3 3326fa3f_4fcb_175c_bb45_ea4994768ac1["checkShape()"] 84782774_5716_4468_9ff1_c032204897d3 -->|calls| 3326fa3f_4fcb_175c_bb45_ea4994768ac1 style 84782774_5716_4468_9ff1_c032204897d3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
android/pytorch_android/src/main/java/org/pytorch/Tensor.java lines 381–385
private Tensor(long[] shape, MemoryFormat memoryFormat) {
checkShape(shape);
this.shape = Arrays.copyOf(shape, shape.length);
this.memoryFormat = memoryFormat;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does Tensor() do?
Tensor() is a function in the pytorch codebase.
What does Tensor() call?
Tensor() calls 1 function(s): checkShape.
What calls Tensor()?
Tensor() is called by 6 function(s): toString, toString, toString, toString, toString, toString.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free