code: def extract_tarfile(input_filename, dest_dir):
      with tarfile.open(input_filename, "r:gz") as tar:
          tar.extractall(dest_dir)
  
imports: from __future__ import print_function
  import json
  import os
  import shutil
  import subprocess
  import tarfile
  import tempfile
  import unittest
  from subprocess import Popen
  import PIL.Image
  import numpy
  import pytest
  import coremltools
  from coremltools._deps import _HAS_KERAS2_TF
  from coremltools.models.utils import _macos_version, _is_macos
label_desc: Use image node_id 1 for calling a global function with example usage: extract_tarfile(input_filename, dest_dir) without return types