title: Python/Tensorflow: Saver for network
body: <p>According to the documentation and numerous SO posts regarding this API, the saver object must be created using </p>
  
  <pre><code>saver = tf.train.Saver(...variables...)
  </code></pre>
  
  <p>I wanted to know if there is any way to automatically populate the <code>(...variables...)</code> without having to explicitly list all variables and ops used in my network. </p>
  
  <p>Right now my network is only two layers so it is not a huge hassle, but it feels downright stone-age like to have to list all the variables manually. </p>