Can someone provide examples of full working code for Tensorflow
tf.contrib.learn.ExportStrategy
The documentation lacks examples. I also could not find any examples on Github or Stackoverflow for this seemingly obscure Tensorflow operation.
Documentation: https://www.tensorflow.org/api_docs/python/tf/contrib/learn/ExportStrategy
Google CloudML has a good working example here: https://github.com/GoogleCloudPlatform/cloudml-samples/tree/master/census/customestimator/trainer
You'll need to use their full code to get the example to work, but here is the gist of how to use ExportStrategy: