Home / Function/ torch() — pytorch Function Reference

torch() — pytorch Function Reference

Architecture documentation for the torch() function in common.py from the pytorch codebase.

Entity Profile

Relationship Graph

Source Code

benchmarks/dynamo/common.py lines 58–63

    from torch._dynamo.utils import (
        clone_inputs,
        copy_dynamo_tensor_attributes,
        graph_break_reasons,
    )
    from torch._inductor.utils import fresh_cache

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free