code: def optimizer_creator(model, config):
      """Returns optimizer defined upon the model parameters."""
      return torch.optim.SGD(
          model.parameters(), lr=config.get("lr", 1e-2)
      )
  
imports: from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.orca.automl.search import SearchEngineFactory
  from zoo.orca.automl.search.ray_tune import RayTuneSearchEngine
  from zoo.orca.automl.model.base_pytorch_model import PytorchModelBuilder
  import torch
  import torch.nn
  from zoo.orca.automl import hp
  import numpy
  from zoo.orca import init_orca_context, stop_orca_context
label_desc: Use image node_id 4 for calling a global function with example usage: optimizer_creator(model, config) and returns: torch