code: def testNoDetailedStats(self):
      with ops.Graph().as_default() as g:
          a = random_ops.random_uniform(shape=())
          b = random_ops.random_uniform(shape=())
          c = a + b
          train_op = ops.get_collection_ref(ops.GraphKeys.TRAIN_OP)
          train_op.append(c)
          mg = meta_graph.create_meta_graph_def(graph=g)
          grappler_item = item.Item(mg)
          grappler_cluster = cluster.Cluster(
              disable_detailed_stats=True
          )
  
          (
              op_perfs,
              run_time,
              step_stats,
          ) = grappler_cluster.MeasureCosts(grappler_item)
          self.assertTrue(run_time > 0)
          self.assertEqual(len(op_perfs), 0)
          self.assertEqual(len(step_stats.dev_stats), 0)
  
file_path: tensorflow-upstream/tensorflow/python/grappler/cluster_test.py
imports: from tensorflow.core.protobuf import device_properties_pb2
  from tensorflow.python.framework import meta_graph
  from tensorflow.python.framework import ops
  from tensorflow.python.grappler import cluster
  from tensorflow.python.grappler import item
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the ClusterTest obj's underlying member method code with example usage: obj.testNoDetailedStats() without return types