title: Converting trained Tensorflow model to protobuf
body: <p>The inception net in the <a href="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android">Android Tensorflow Demo</a> stores the model as a protobuf file (<a href="https://storage.googleapis.com/download.tensorflow.org/models/inception5h.zip">tensorflow_inception_graph.pb</a>). I'd like to replace this network with another one.</p>
  
  <p>Is there documentation or an example somewhere on how to convert a trained TensorFlow network in Python to <code>.pb</code>? I'm aware of TensorFlow's <a href="https://www.tensorflow.org/versions/0.6.0/api_docs/python/state_ops.html#Saver">Saver</a> but this seems to be used to save intermediate training state. Not sure how it works if the model is already trained.</p>