MCPcopy 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)
65def fn():
66 opt.step()
67 sched.step()
68
69
70# Warmup runs to compile the function

Calls 1

stepMethod · 0.80

Tested by

no test coverage detected