Home / Function/ toString() — pytorch Function Reference

toString() — pytorch Function Reference

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

Function java AndroidRuntime TensorAPI calls 2 called by 5

Entity Profile

Dependency Diagram

graph TD
  4dddc431_e167_7548_34d1_5575ffcdb665["toString()"]
  ef0be393_4a47_ee7d_184b_be98c43edaac["toString()"]
  ef0be393_4a47_ee7d_184b_be98c43edaac -->|calls| 4dddc431_e167_7548_34d1_5575ffcdb665
  c2aaeebb_3e09_4ef1_d065_8e35d49ff0b9["toString()"]
  c2aaeebb_3e09_4ef1_d065_8e35d49ff0b9 -->|calls| 4dddc431_e167_7548_34d1_5575ffcdb665
  79c0b6b9_56b7_c78b_99f1_2d798f55338b["toString()"]
  79c0b6b9_56b7_c78b_99f1_2d798f55338b -->|calls| 4dddc431_e167_7548_34d1_5575ffcdb665
  132164df_c207_d0cf_c2fa_0df0635f3a0b["toString()"]
  132164df_c207_d0cf_c2fa_0df0635f3a0b -->|calls| 4dddc431_e167_7548_34d1_5575ffcdb665
  45c3c069_9aa8_f020_71b8_bcc433f7d6e6["toString()"]
  45c3c069_9aa8_f020_71b8_bcc433f7d6e6 -->|calls| 4dddc431_e167_7548_34d1_5575ffcdb665
  84782774_5716_4468_9ff1_c032204897d3["Tensor()"]
  4dddc431_e167_7548_34d1_5575ffcdb665 -->|calls| 84782774_5716_4468_9ff1_c032204897d3
  ef0be393_4a47_ee7d_184b_be98c43edaac["toString()"]
  4dddc431_e167_7548_34d1_5575ffcdb665 -->|calls| ef0be393_4a47_ee7d_184b_be98c43edaac
  style 4dddc431_e167_7548_34d1_5575ffcdb665 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

android/pytorch_android/src/main/java/org/pytorch/Tensor.java lines 513–516

    @Override
    public String toString() {
      return String.format("Tensor(%s, dtype=torch.uint8)", Arrays.toString(shape));
    }

Subdomains

Frequently Asked Questions

What does toString() do?
toString() is a function in the pytorch codebase.
What does toString() call?
toString() calls 2 function(s): Tensor, toString.
What calls toString()?
toString() is called by 5 function(s): 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