code: def get_network(weights):
      if weights in WEIGHTS_URLS.keys():
          arch_params = WEIGHTS_URLS[weights]["arch_params"]
          url = WEIGHTS_URLS[weights]["url"]
          name = WEIGHTS_URLS[weights]["name"]
      else:
          raise ValueError(
              "Available RDN network weights: {}".format(
                  list(WEIGHTS_URLS.keys())
              )
          )
      c_dim = 3
      kernel_size = 3
      upscaling = "ups"
      return arch_params, c_dim, kernel_size, upscaling, url, name
  
file_path: image-super-resolution/ISR/models/rdn.py
imports: import tensorflow
  from tensorflow.keras.initializers import RandomUniform
  from tensorflow.keras.layers import concatenate, Input, Activation, Add, Conv2D, Lambda, UpSampling2D
  from tensorflow.keras.models import Model
  from ISR.models.imagemodel import ImageModel
label_desc: Use image node_id 2 for calling a global function with example usage: get_network(weights) and returns: arch_params,  c_dim,  kernel_size,  upscaling,  url,  name