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 JavaAPI calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  738d45d8_0ec9_353f_a9a0_7e84ea2d85c9["toString()"]
  4f0d0ba9_79d6_d986_56dd_79bf2eb22f8d["toString()"]
  4f0d0ba9_79d6_d986_56dd_79bf2eb22f8d -->|calls| 738d45d8_0ec9_353f_a9a0_7e84ea2d85c9
  ebadc71e_cab5_792b_ebff_10cde5eff184["Tensor()"]
  738d45d8_0ec9_353f_a9a0_7e84ea2d85c9 -->|calls| ebadc71e_cab5_792b_ebff_10cde5eff184
  4f0d0ba9_79d6_d986_56dd_79bf2eb22f8d["toString()"]
  738d45d8_0ec9_353f_a9a0_7e84ea2d85c9 -->|calls| 4f0d0ba9_79d6_d986_56dd_79bf2eb22f8d
  style 738d45d8_0ec9_353f_a9a0_7e84ea2d85c9 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