code: def optimizer_creator(model, config):
      return optim.SGD(
          model.fc.parameters(),
          lr=config["lr"],
          momentum=config["momentum"],
      )
  
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 6 for calling a global function with example usage: optimizer_creator(model, config) and returns: optim