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
  4fe0fcfc_ef31_1872_b18a_20f365213645["toString()"]
  41562b24_58d1_a5d5_8126_b795ada13cdc["toString()"]
  41562b24_58d1_a5d5_8126_b795ada13cdc -->|calls| 4fe0fcfc_ef31_1872_b18a_20f365213645
  ebadc71e_cab5_792b_ebff_10cde5eff184["Tensor()"]
  4fe0fcfc_ef31_1872_b18a_20f365213645 -->|calls| ebadc71e_cab5_792b_ebff_10cde5eff184
  41562b24_58d1_a5d5_8126_b795ada13cdc["toString()"]
  4fe0fcfc_ef31_1872_b18a_20f365213645 -->|calls| 41562b24_58d1_a5d5_8126_b795ada13cdc
  style 4fe0fcfc_ef31_1872_b18a_20f365213645 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

android/pytorch_android/src/main/java/org/pytorch/Tensor.java lines 609–612

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