code: def test_x2(self):
      with self.test_session():
          X = tf.constant([[10.0], [2.0]])
          X2 = tf.constant([[2.0], [10.0]])
          self.assertAllClose(
              rbf(X, X2).eval(),
              [[1.266417e-14, 1.0], [1.0, 1.266417e-14]],
          )
          self.assertAllClose(
              rbf(X2, X).eval(),
              [[1.266417e-14, 1.0], [1.0, 1.266417e-14]],
          )
  
          X = tf.constant([[2.0, 2.5], [4.1, 5.0]])
          X2 = tf.constant([[1.5, 2.0], [3.1, 4.2]])
          self.assertAllClose(
              rbf(X, X2).eval(),
              [[0.778800, 0.128734], [0.000378, 0.440431]],
              atol=1e-5,
              rtol=1e-5,
          )
  
file_path: edward/tests/util/rbf_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  from edward.util import rbf
label_desc: Use image node_id 2 for calling the test_rbf_class obj's underlying member method code with example usage: obj.test_x2() without return types