MCPcopy Create free account
hub / github.com/pytorch/tutorials / optimizer_step_in_backward_tutorial.py

File optimizer_step_in_backward_tutorial.py

intermediate_source/optimizer_step_in_backward_tutorial.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2
3How to save memory by fusing the optimizer step into the backward pass
4======================================================================

Callers

nothing calls this directly

Calls 1

trainFunction · 0.70

Tested by

no test coverage detected