sides() — pytorch Function Reference
Architecture documentation for the sides() function in combine_csv.py from the pytorch codebase.
Entity Profile
Relationship Graph
Source Code
benchmarks/dynamo/combine_csv.py lines 31–51
if "static" not in sides:
continue
if "dynamic" not in sides:
continue
if not name:
out.writerow(
{
"static_url": sides["static"]["explain"],
"dynamic_url": sides["dynamic"]["explain"],
}
)
continue
row = {"bench": bench, "name": name}
for f in fields:
try:
static = ast.literal_eval(sides["static"][f])
dynamic = ast.literal_eval(sides["dynamic"][f])
except SyntaxError:
continue
row[f"delta_{f}"] = dynamic - static
out.writerow(row)
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free