class_docstr: Benchmark for graph building time of ops.
class_docstr_tok: ["Benchmark","for","graph","building","time","of","ops","."]
code: def _run_and_report(self, func, num_iters):
      total_time = run_benchmark(func, num_iters)
      mean_us = total_time * 1e6 / num_iters
      self.report_benchmark(
          iters=num_iters,
          wall_time=mean_us,
          extras={
              "examples_per_sec": float(
                  "{0:.3f}".format(num_iters / total_time)
              ),
          },
      )
  
file_path: tensorflow-upstream/tensorflow/python/framework/graph_building_benchmark.py
imports: import time
  from tensorflow.python.eager import context
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the SingleOpBenchmarks obj's underlying member method code with example usage: obj._run_and_report(func, num_iters) without return types