class_docstr: Benchmarks for autotuning performance knobs.
class_docstr_tok: ["Benchmarks","for","autotuning","performance","knobs","."]
code: def benchmark_batch(self):
      a = self._benchmark_batch(autotune=False, benchmark_id=1)
      b = self._benchmark_batch(autotune=True, benchmark_id=2)
      print(
          "autotune parallelism vs no autotuning speedup: {}".format(
              a / b
          )
      )
  
file_path: tensorflow/tensorflow/python/data/experimental/benchmarks/autotune_benchmark.py
imports: import numpy
  from tensorflow.python.data.benchmarks import benchmark_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import options
  from tensorflow.python.ops import math_ops
label_desc: Use image node_id 2 for calling the AutotuneBenchmark obj's underlying member method code with example usage: obj.benchmark_batch() without return types