title: How to convert tf.int64 to tf.float32?
body: <p>I tried:</p>
  
  <pre><code>test_image = tf.convert_to_tensor(img, dtype=tf.float32)
  </code></pre>
  
  <p>Then following error appears:</p>
  
  <pre><code>ValueError: Tensor conversion requested dtype float32 for Tensor with dtype int64: 'Tensor("test/ArgMax:0", shape=TensorShape([Dimension(None)]), dtype=int64)'
  </code></pre>