Could you give more information about the Trainer and where this class is coming from?
Assuming you are using a higher-level API, I guess its documentation would point to the usage of a learning rate scheduler. If you’ve written the Trainer yourself, could you post its code, please?