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 3

Entity Profile

Dependency Diagram

graph TD
  41562b24_58d1_a5d5_8126_b795ada13cdc["toString()"]
  4fe0fcfc_ef31_1872_b18a_20f365213645["toString()"]
  4fe0fcfc_ef31_1872_b18a_20f365213645 -->|calls| 41562b24_58d1_a5d5_8126_b795ada13cdc
  b4f05565_cdd2_d1a2_3147_08a459b7ecdb["toString()"]
  b4f05565_cdd2_d1a2_3147_08a459b7ecdb -->|calls| 41562b24_58d1_a5d5_8126_b795ada13cdc
  88eab5e1_4cac_c9cd_bd8a_825ef1bc3492["toString()"]
  88eab5e1_4cac_c9cd_bd8a_825ef1bc3492 -->|calls| 41562b24_58d1_a5d5_8126_b795ada13cdc
  ebadc71e_cab5_792b_ebff_10cde5eff184["Tensor()"]
  41562b24_58d1_a5d5_8126_b795ada13cdc -->|calls| ebadc71e_cab5_792b_ebff_10cde5eff184
  4fe0fcfc_ef31_1872_b18a_20f365213645["toString()"]
  41562b24_58d1_a5d5_8126_b795ada13cdc -->|calls| 4fe0fcfc_ef31_1872_b18a_20f365213645
  style 41562b24_58d1_a5d5_8126_b795ada13cdc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

android/pytorch_android/src/main/java/org/pytorch/Tensor.java lines 577–580

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

Analyze Your Own Codebase

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

Try Supermodel Free