code: def test_metrics_with_binary_averaging(self):
      with self.test_session():
          y_true = tf.constant(
              [[1.0, 2.0, 3.0], [2.0, 3.0, 4.0], [3.0, 4.0, 5.0]]
          )
          y_pred = tf.constant(
              [[2.0, 4.0, 6.0], [4.0, 6.0, 8.0], [6.0, 8.0, 10.0]]
          )
          for metric in all_metrics_with_binary_averaging:
              self._check_averaging(metric, y_true, y_pred)
  
file_path: edward/tests/criticisms/metrics_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  from edward.criticisms.evaluate import *
label_desc: Use image node_id 6 for calling the test_metrics_class obj's underlying member method code with example usage: obj.test_metrics_with_binary_averaging() without return types