title: tensorflow attribute error initialize_all_variables
body: <p>I am new to tensorflow. Following is the program I was trying to run.</p>
  
  <pre><code>import numpy as np
  import tensorflow as tf
  with tf.Session() as sess:
      x=tf.placeholder("float",[1,3])
      relu_out=x
      num_layers=2
      for layer in range(num_layers):
          w=tf.Variable(tf.random_normal([3,3]))
          b=tf.Variable(tf.zeros([1,3]))
          relu_out=tf.nn.relu(tf.matmul(relu_out,w)+b)
      softmax_w=tf.Variable(tf.random_normal([3,3]))
      softmax_b=tf.Variable(tf.zeros([1,3]))
      logit=tf.matmul(relu_out,softmax_w)+softmax_b
      softmax=tf.nn.softmax(logit)
      answer=np.array([[0.0,1.0,0.0]])
      labels=tf.placeholder("float",[1,3])
      cross_entropy=tf.nn.softmax_cross_entropy_with_logits(relu_out,labels,name='xentropy')
      optimizer=tf.train.GradientDescentOptimizer(0.1)
      train_op=optimizer.minimize(cross_entropy)
      sess.run(tf.initialize_all_vraiables())
      for step in range(10):
          sess.run(train_op,feed_dict={x:np.array([[1.0,2.0,3.0]]),labels:answer})
  </code></pre>
  
  <p>It is showing following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/nilay/gdrive/REU/summer_exp/tf_tut/tf_add_layers.py", line 20, in &lt;module&gt;
      sess.run(tf.initialize_all_vraiables())
  AttributeError: 'module' object has no attribute 'initialize_all_vraiables'
  </code></pre>
  
  <p>Please help me resolve it.</p>