class_docstr: Temporary directory for unit testing.
code: def __init__(self):
      temp_dir = tempfile.mkdtemp(dir=googletest.GetTempDir())
      self._path = os.path.join(
          tempfile.mkdtemp(dir=temp_dir), "tf_data_snapshot"
      )
  
imports: import os
  import shutil
  import tempfile
  from tensorflow.core.protobuf import service_config_pb2
  from tensorflow.python.data.experimental.ops import data_service_ops
  from tensorflow.python.data.experimental.service import server_lib
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 to create a new TempDir object  with example: obj = TempDir()