code: def download_or_get_model(file, sha256_checksum, output_dir):
      filename = os.path.basename(file)
      output_file = "%s/%s-%s.pb" % (
          output_dir,
          filename,
          sha256_checksum,
      )
      download_or_get_file(file, sha256_checksum, output_file)
      return output_file
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import inspect
  import hashlib
  import filelock
  import errno
  import os
  import sys
  import shutil
  import traceback
label_desc: Use image node_id 6 for calling a global function with example usage: download_or_get_model(file, sha256_checksum, output_dir) and returns: output_file