code: def benchmarkAddOp(self):
      num_ops = 100
      num_iters = 10
      duration = self._computeAddOpDuration(num_ops, num_iters)
      name = "BenchmarkAddOp"
      if flags.config().graph_building_optimization.value():
          name += "WithGraphBuildingOptimization"
      self.report_benchmark(
          name=name,
          iters=num_iters,
          wall_time=duration,
          extras={"num_ops": num_ops},
      )
  
file_path: tensorflow-upstream/tensorflow/python/framework/experimental/graph_building_test.py
imports: import timeit
  from tensorflow.core.config import flags
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import func_graph
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gen_array_ops
  from tensorflow.python.ops import gen_math_ops
  from tensorflow.python.ops import gen_resource_variable_ops
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the GraphBuildingBenchmark obj's underlying member method code with example usage: obj.benchmarkAddOp() without return types