Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/tutorials
/ torch_compile_full_example.py
File
torch_compile_full_example.py
intermediate_source/torch_compile_full_example.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# -*- coding: utf-8 -*-
2
3
""
"
4
``torch.compile`` End-to-End Tutorial
Callers
nothing calls this directly
Calls
5
init_model
Function · 0.85
generate_data
Function · 0.85
timed
Function · 0.70
train
Function · 0.70
model
Function · 0.50
Tested by
no test coverage detected