code: def test_new(self, hparams, attributes, metrics):
      with context.graph_mode():
          _ = tf.constant(0)  # Just to have a non-empty graph.
          report = Report(
              hparams=hparams,
              attributes=attributes(),
              metrics=metrics(),
          )
          self.assertEqual(hparams, report.hparams)
          self.assertEqual(
              self.evaluate(attributes()),
              self.evaluate(report.attributes),
          )
          self.assertEqual(
              self.evaluate(metrics()), self.evaluate(report.metrics)
          )
  
file_path: adanet/adanet/subnetwork/report_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  from adanet.subnetwork.report import Report
  import tensorflow.compat.v2
  from tensorflow.python.eager import context
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 1 for calling the ReportTest obj's underlying member method code with example usage: obj.test_new(hparams, attributes, metrics) without return types