title: TypeError: Value passed to parameter 'a' has DataType not in list of allowed values
body: <p>I have the following code:</p>
  
  <pre><code>_X = np.arange(1, 7).reshape((2, 3))
  _Y = np.arange(1, 7).reshape((3, 2))
  
  X = tf.convert_to_tensor(_X)
  Y = tf.convert_to_tensor(_Y)
  
  # Matrix multiplication
  out1 = tf.matmul(X, Y)
  </code></pre>
  
  <p>For it, I am getting this error:</p>
  
  <pre><code>TypeError: Value passed to parameter 'a' has DataType int64 not in list of allowed values: float16, float32, float64, int32, complex64, complex128
  </code></pre>
  
  <p>I am using the latest version of Tensorflow. What could be the issue?</p>