code: def scheduler_creator(optimizer, config):
      return lr_scheduler.StepLR(
          optimizer,
          step_size=config["step_size"],
          gamma=config["gamma"],
      )
  
file_path: BigDL/python/orca/tutorial/pytorch/transfer_learning/train.py
imports: import os
  import numpy
  import matplotlib.pyplot
  import torch
  import torch.nn
  import torch.optim
  from torch.optim import lr_scheduler
  import torchvision
  from torchvision import datasets, transforms
  from bigdl.orca import init_orca_context, stop_orca_context
  from bigdl.orca.learn.pytorch import Estimator
  from bigdl.orca.learn.metrics import Accuracy
label_desc: Use image node_id 7 for calling a global function with example usage: scheduler_creator(optimizer, config) and returns: lr_scheduler