Home / Function/ toString() — pytorch Function Reference

toString() — pytorch Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

android/pytorch_android/src/main/java/org/pytorch/Tensor.java lines 641–644

    @Override
    public String toString() {
      return String.format("Tensor(%s, dtype=torch.int64)", 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.

Analyze Your Own Codebase

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

Try Supermodel Free