Typo correction in optimizers documentation
📚 Documentation


Where was the typo? docs/source/optimizers.rst


What was the typo?
There are four instances where optimizer_idx was the argument for optimizer_step() under Step optimizers at arbitrary intervals. However, instead of using it what was being used inside (erroneously) was optimizer_i. The following screenshot shows only two of the four instances.



What is the fix?

Replace each optimizer_i with optimizer_idx. Four instances.




Steps for contributors:
For typos and doc fixes, please go ahead and:

Create an issue.  ✅
Fix the typo.  ✅
Submit a PR.  ✅   PR #5310

Thanks!