code: def network(arch: str):
      if arch == "convnet":
          return ConvNet
      elif arch == "resnet":
          return ResNet
      raise ValueError("Architecture not recognized", arch)
  
label_desc: Use image node_id 1 for calling a global function with example usage: network(arch) and returns: ConvNet, ResNet