class_docstr: Benchmark that compares various ways of running tf.data benchmarks.
class_docstr_tok: ["Benchmark","that","compares","various","ways","of","running","tf.data","benchmarks","."]
code: def run_benchmark_in_eager(self, dataset):
      deltas = []
      for _ in range(self.num_reps):
          iterator = iter(dataset)
          deltas.append(
              timeit.timeit(lambda: next(iterator), number=self.iters)
          )  # pylint: disable=cell-var-from-loop
  
      self.report(deltas)
  
imports: import timeit
  import numpy
  from tensorflow.python.client import session
  from tensorflow.python.data.experimental.ops import testing
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import options
  from tensorflow.python.eager import context
  from tensorflow.python.platform import test
label_desc: Use image node_id 12 for calling the MetaBenchmark obj's underlying member method code with example usage: obj.run_benchmark_in_eager(dataset) without return types