tf.contrib.saved_model.load_keras_model

tf.contrib.saved_model.load_keras_model(saved_model_path)

Defined in tensorflow/contrib/saved_model/python/saved_model/keras_saved_model.py.

Load a keras.Model from SavedModel.

load_model reinstantiates model state by: 1) loading model topology from json (this will eventually come from metagraph). 2) loading model weights from checkpoint.

Args:

  • saved_model_path: a string specifying the path to an existing SavedModel.

Returns:

a keras.Model instance.