Build a model and then save it to a directory in the SavedModel format.
Save the previous model to a file in HDF5 format and restore from it.
Save the previous model to a file in JSON format and restore from it.
Save and restore a session in the legacy checkpoint (TensorFlow version 1) format.