Home / Function/ model_specified_by_path() — pytorch Function Reference

model_specified_by_path() — pytorch Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6ef6aeed_e4e4_d4e6_59c1_374c802a8f2a["model_specified_by_path()"]
  c9be2096_e6d7_2374_ad2e_a6e33f435ada["run()"]
  c9be2096_e6d7_2374_ad2e_a6e33f435ada -->|calls| 6ef6aeed_e4e4_d4e6_59c1_374c802a8f2a
  style 6ef6aeed_e4e4_d4e6_59c1_374c802a8f2a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmarks/dynamo/common.py lines 281–282

def model_specified_by_path(path_and_class_str):
    return ":" in path_and_class_str

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free