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 1

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

android/pytorch_android/src/main/java/org/pytorch/Tensor.java lines 545–548

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

Subdomains

Called By

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 1 function(s): toString.

Analyze Your Own Codebase

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

Try Supermodel Free