title: How to use tf.argmax
body: <p>I want to test the function of tf.argmax(),but when I run the code , I encountered an error. Here is my code</p>
  
  <pre><code>import tensorflow as tf
  
  a=tf.argmax([1,0,0],1)
  with tf.Session() as sess:
      print(sess.run(a))
  </code></pre>
  
  <p>My envionment is: python3 + tf1.3<br>
  What's wrong with the code?</p>