code: def test_regression_metrics(self):
      with self.test_session():
          y_true = tf.random_normal([6, 7])
          y_pred = tf.random_normal([6, 7])
          for metric in all_regression_metrics:
              self.assertEqual(metric(y_true, y_pred).eval().shape, ())
  
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 4 for calling the test_metrics_class obj's underlying member method code with example usage: obj.test_regression_metrics() without return types