Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/tutorials
/ fn
Function
fn
recipes_source/compiling_optimizer_lr_scheduler.py:65–67 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
63
64
@torch.compile(fullgraph=False)
65
def
fn():
66
opt.step()
67
sched.step()
68
69
70
# Warmup runs to compile the function
Callers
1
compiling_optimizer_lr_scheduler.py
File · 0.70
Calls
1
step
Method · 0.80
Tested by
no test coverage detected