title: WARNING:tensorflow - initialize_all_variables (from tensorflow.python.ops.variables) is deprecated
body: <p>While initializaing tensorflow </p>
  
  <pre><code>init = tf.initialize_all_variables()
  sess = tf.Session()
  sess.run(init)
  </code></pre>
  
  <p>get below warning</p>
  
  <pre><code>WARNING:tensorflow:From D:/Projects/Python/DLPractice/boston_housing.py:75 in &lt;module&gt;.: initialize_all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02.
  Instructions for updating:
  Use `tf.global_variables_initializer` instead.
  </code></pre>
  
  <p>How to remove the warning and use updated code?</p>