TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

Module: tf.contrib.saved_model

View source on GitHub

SavedModel contrib support.

SavedModel provides a language-neutral format to save machine-learned models that is recoverable and hermetic. It enables higher-level systems and tools to produce, consume and transform TensorFlow models.


load_keras_model(...): Loads a keras Model from a SavedModel created by export_saved_model().

save_keras_model(...): Exports a tf.keras.Model as a Tensorflow SavedModel.