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 unittest import TestCase
  from zoo.orca.automl.model.base_pytorch_model import PytorchModelBuilder
  from torch.utils.data import Dataset, DataLoader
  import pytest
  import numpy
  import torch
  import torch.nn
label_desc: Use image node_id 6 for calling a global function with example usage: optimizer_creator(model, config) and returns: torch