title: AttributeError: module 'tensorflow.python.summary.summary' has no attribute 'FileWriter'
body: <p>I'm getting this error, although everywhere I've looked <code>file_writer = tf.summary.FileWriter('/path/to/logs', sess.graph)</code> is mentioned as the correct implementation of <a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tensorboard/README.md" rel="noreferrer">this</a> and <a href="https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/4_Utils/tensorboard_basic.py" rel="noreferrer">this</a>.</p>
  
  <p>Here is the error:</p>
  
  <blockquote>
    <p>Traceback (most recent call last):   File "tfvgg.py", line 304, in
    
        writer = tf.summary.FileWriter("/tmp/tfvgg", sess.graph) AttributeError: module 'tensorflow.python.summary.summary' has no
    attribute 'FileWriter'</p>
  </blockquote>
  
  <p>Here is the code I'm using:</p>
  
  <pre><code># init
  sess = tf.Session()
  writer = tf.summary.FileWriter("/tmp/tfvgg", sess.graph)
  init = tf.initialize_all_variables()
  sess.run(init)
  </code></pre>
  
  <p>Has there been a change to the correct way to use <code>FileWriter</code> as there has been with other <code>summary</code> methods?</p>