code: def get_optimizer(model, config):
      return torch.optim.SGD(model.parameters(), lr=config["lr"])
  
imports: import os
  from unittest import TestCase
  import numpy
  import pytest
  import torch
  import torch.nn
  from torch.utils.data import Dataset, DataLoader
  from bigdl.orca.automl.auto_estimator import AutoEstimator
  from bigdl.orca.automl.pytorch_utils import LR_NAME
  from bigdl.orca.automl import hp
label_desc: Use image node_id 4 for calling a global function with example usage: get_optimizer(model, config) and returns: torch