code: def TemporaryDirectoryResource():
      temporary = tempfile.mkdtemp()
      try:
          yield temporary
      finally:
          shutil.rmtree(temporary)
  
imports: import argparse
  import contextlib
  import json
  import os
  import shutil
  import subprocess
  import sys
  import tempfile
  import tensorflow
  from tensorflow.python.platform import resource_loader
label_desc: Use image node_id 1 for calling a global function with example usage: TemporaryDirectoryResource() without return types