code: def load_pretrained_weight(name: str, **kwargs) -> str:
      if name not in PRETRAINED_WEIGHT_URLS:
          raise ValueError(
              f'"{name}" do not have a valid pretrained weight file.'
          )
      url = PRETRAINED_WEIGHT_URLS[name]
  
      local_path = os.path.join(
          nni_cache_home(), "nashub", url.split("/")[-1]
      )
      load_or_download_file(local_path, url, **kwargs)
      return local_path
  
label_desc: Use image node_id 1 for calling a global function with example usage: load_pretrained_weight(name) and returns: local_path