code: def download_and_untar(model_url, model_sub_path, temp_dir):
      model_tar_name = os.path.basename(model_url)
      model_path = download_testdata(
          model_url, model_tar_name, module=["tvmc"]
      )
  
      if (
          model_path.endswith("tgz")
          or model_path.endswith("gz")
          or model_path.endswith("tar")
      ):
          tar = tarfile.open(model_path)
          tar.extractall(path=temp_dir)
          tar.close()
  
      return os.path.join(temp_dir, model_sub_path)
  
imports: import os
  import pytest
  import tarfile
  import textwrap
  import numpy
  from PIL import Image
  import tvm
  from tvm import relay
  from tvm.driver import tvmc
  from tvm.contrib.download import download_testdata
label_desc: Use image node_id 1 for calling a global function with example usage: download_and_untar(model_url, model_sub_path, temp_dir) and returns: os