code: def testSimpleStatistics(self):
      a = variables.Variable(random_ops.random_normal([25, 16]))
      b = variables.Variable(random_ops.random_normal([16, 9]))
      math_ops.matmul(a, b)
      g = ops.get_default_graph()
      for op in g.get_operations():
          flops = ops.get_stats_for_node_def(
              g, op.node_def, "flops"
          ).value
          if op.name == "MatMul":
              self.assertEqual(7200, flops)
  
file_path: tensorflow-upstream/tensorflow/python/profiler/internal/flops_registry_test.py
imports: from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
  from tensorflow.python.profiler.internal import flops_registry
label_desc: Use image node_id 1 for calling the FlopsRegistryTest obj's underlying member method code with example usage: obj.testSimpleStatistics() without return types