pytorch
98d9a631 - Rename profile.next_step() to profile.step() to consistent with optimizer.step() (#51032)

Commit
3 years ago
Rename profile.next_step() to profile.step() to consistent with optimizer.step() (#51032) Summary: Similar with Optimizer.step(), profile.next_step() occurs every iteration and calls at the end of each iteration. So it's better to make them same naming style. Pull Request resolved: https://github.com/pytorch/pytorch/pull/51032 Reviewed By: heitorschueroff Differential Revision: D26097847 Pulled By: ilia-cher fbshipit-source-id: ea2e5c8e865d99f90b004ec7797271217efeeb68
Author
Parents
Loading