code: def generate_config(_network, _dataset, _loss):
      for k, v in loss[_loss].items():
          config[k] = v
          if k in default:
              default[k] = v
      for k, v in network[_network].items():
          config[k] = v
          if k in default:
              default[k] = v
      for k, v in dataset[_dataset].items():
          config[k] = v
          if k in default:
              default[k] = v
      config.loss = _loss
      config.network = _network
      config.dataset = _dataset
      config.num_workers = 1
      config.fp16 = False
      if "DMLC_NUM_WORKER" in os.environ:
          config.num_workers = int(os.environ["DMLC_NUM_WORKER"])
  
label_desc: Use image node_id 1 for calling a global function with example usage: generate_config(_network, _dataset, _loss) without return types