Home / Function/ __str__() — pytorch Function Reference

__str__() — pytorch Function Reference

Architecture documentation for the __str__() function in benchmark.py from the pytorch codebase.

Function python CoreTensor Dispatcher calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  5223e425_d611_1804_8ece_bd00c2a73c44["__str__()"]
  883838c0_c712_ed8d_1acc_9f63f477d95f["__str__()"]
  883838c0_c712_ed8d_1acc_9f63f477d95f -->|calls| 5223e425_d611_1804_8ece_bd00c2a73c44
  883838c0_c712_ed8d_1acc_9f63f477d95f["__str__()"]
  5223e425_d611_1804_8ece_bd00c2a73c44 -->|calls| 883838c0_c712_ed8d_1acc_9f63f477d95f
  style 5223e425_d611_1804_8ece_bd00c2a73c44 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmarks/distributed/ddp/benchmark.py lines 162–163

    def __str__(self):
        raise NotImplementedError

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does __str__() do?
__str__() is a function in the pytorch codebase.
What does __str__() call?
__str__() calls 1 function(s): __str__.
What calls __str__()?
__str__() is called by 1 function(s): __str__.

Analyze Your Own Codebase

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

Try Supermodel Free