code: def on_epoch_end(self, net, **kwargs):
      if not net.history[-1]["valid_loss_best"]:
          net.lr /= 4.0
  
file_path: skorch/examples/word_language_model/train.py
imports: import argparse
  import skorch
  import torch
  from sklearn.model_selection import GridSearchCV
  import data
  from model import RNNModel
  from net import Net
label_desc: Use image node_id 1 for calling the LRAnnealing obj's underlying member method code with example usage: obj.on_epoch_end(net) without return types