code: def get_model_config_by_name(name):
      if name == "DenseNet":
          return DenseNetConfig
      elif name == "SimpleConvnet":
          return SimpleConvnetConfig
      else:
          raise ValueError("Unknown model type %s" % name)
  
file_path: auptimizer/Examples/cai_eas/eas/models/utils.py
imports: from models.dense_net import DenseNetConfig, DenseNet
  from models.convnet import SimpleConvnetConfig, SimpleConvnet
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: get_model_config_by_name(name) and returns: DenseNetConfig, SimpleConvnetConfig