In the Pytorch transfer learning tutorial 6, the following line of code appears:
scheduler = lr_scheduler.StepLR(optimizer_ft, step_size=7, gamma=0.1)
and during the model training:
scheduler.step()

I can’t find the documentation of lr_scheduler (only the method itself). Will someone please help me understand what exactly does these lines do and what (in general) does the lr_scheduler is inteneded to do?
Thanks!