code: def test_dot(self):
      with self.test_session():
          a = tf.constant(np.arange(5, dtype=np.float32))
          b = tf.diag(tf.ones([5]))
          self.assertAllEqual(
              dot(a, b).eval(), np.dot(a.eval(), b.eval())
          )
          self.assertAllEqual(
              dot(b, a).eval(), np.dot(b.eval(), a.eval())
          )
  
file_path: edward/tests/util/dot_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 dot
label_desc: Use image node_id 1 for calling the test_dot_class obj's underlying member method code with example usage: obj.test_dot() without return types