code: def testImplicitDisposeParallelMapDataset(self):
      # Tests whether a parallel map dataset will be cleaned up correctly when
      # the pipeline does not run it until exhaustion.
      # The pipeline is TensorSliceDataset -> MapDataset(square_3) ->
      # RepeatDataset(None) -> PrefetchDataset(100).
      worker, _ = test_util.create_local_cluster(1, 1)
  
      components = (
          np.arange(1000),
          np.array([[1, 2, 3]]) * np.arange(1000)[:, np.newaxis],
          np.array(37.0) * np.arange(1000),
      )
  
      def _map_fn(x, y, z):
          return (
              math_ops.square(x),
              math_ops.square(y),
              math_ops.square(z),
          )
  
      dataset = (
          dataset_ops.Dataset.from_tensor_slices(components)
          .map(_map_fn)
          .repeat(None)
          .prefetch(10000)
      )
  
      iterator = dataset_ops.make_initializable_iterator(dataset)
      init_op = iterator.initializer
      get_next = iterator.get_next()
  
      with session.Session(worker[0].target) as sess:
          sess.run(init_op)
          for _ in range(3):
              sess.run(get_next)
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.python.client import session
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import iterator_ops
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import function
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import functional_ops
  from tensorflow.python.ops import lookup_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import string_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 6 for calling the IteratorClusterTest obj's underlying member method code with example usage: obj.testImplicitDisposeParallelMapDataset() and returns: math_ops,  math_ops,  math_ops