Export weights of neural network using tensorflow
问题 I wrote neural-network using tensorflow tools. everything working and now I want to export the final weights of my neural network to make a single prediction method. How can I do this? 回答1: You will need to save your model at the end of training by using the tf.train.Saver class. While initializing the Saver object, you will need to pass a list of all the variables you wish to save. The best part is that you can use these saved variables in a different computation graph! Create a Saver object