class_docstr: Benchmark for graph building time of ops.
class_docstr_tok: ["Benchmark","for","graph","building","time","of","ops","."]
code: def benchmarkMatMul(self):
      with context.execution_mode(context.GRAPH_MODE):
          x = array_ops.placeholder(
              shape=[784, 1000], dtype=dtypes.float32, name="x"
          )
          y = array_ops.placeholder(
              shape=[1000, 1000], dtype=dtypes.float32, name="y"
          )
  
          def bench():
              return gen_math_ops.mat_mul(x, y)
  
          self._run_and_report(bench, 1000)
  
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 4 for calling the SingleOpBenchmarks obj's underlying member method code with example usage: obj.benchmarkMatMul() and returns: gen_math_ops