title: initialize variables in TensorFlow graph
body: <p>I'm starting an interactive session in TensorFlow, and after defining all the variables I'm starting to train end evaluate the network.</p>
  
  <p>What is the difference between those two commands:</p>
  
  <ol>
  <li><code>tf.global_variables_initializer().run()</code></li>
  <li><code>sess.run(tf.initialize_all_variables())</code></li>
  </ol>
  
  <p>till today I used the second command, but recently I noticed the first command.</p>
  
  <p>Thanks :)</p>