code: def new_init(torch_lr_scheduler):
      def f(self, *args, **kwargs):
          super(type(self), self).__init__(
              torch_lr_scheduler, *args, **kwargs
          )
  
      return f
  
file_path: poutyne/poutyne/framework/callbacks/lr_scheduler.py
imports: import inspect
  import sys
  from typing import BinaryIO, Dict
  import torch.optim.lr_scheduler
  from torch.optim import Optimizer
  from poutyne.framework.callbacks.callbacks import Callback
label_desc: Use image node_id 1 for calling a global function with example usage: new_init(torch_lr_scheduler) and returns: f