code: def testAggregateProfileConstructorWorks(self):
      aggregate_data = profiling.AggregateProfile(self.profile_datum_1)
  
      self.assertEqual(2, aggregate_data.total_op_time)
      self.assertEqual(4, aggregate_data.total_exec_time)
      self.assertEqual(1, aggregate_data.node_count)
      self.assertEqual(1, aggregate_data.node_exec_count)
  
file_path: tensorflow-upstream/tensorflow/python/debug/lib/profiling_test.py
imports: from tensorflow.core.framework import step_stats_pb2
  from tensorflow.python.debug.lib import profiling
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 2 for calling the AggregateProfile obj's underlying member method code with example usage: obj.testAggregateProfileConstructorWorks() without return types