Error : No module named lr_scheduler

I got the following error during execution of code
import torch.optim.lr_scheduler
ImportError: No module named lr_scheduler
how to resolve it

Hi,

I have pytorch version 1.1.0. It works perfectly fine in my side. Please check your pytorch version if it is a previous version of 1.0. If it is so, please update it. It would work.

Thanks

thank you for sharing information .I will try