Turn on v3 saving.

PiperOrigin-RevId: 513612802
This commit is contained in:
Neel Kovelamudi 2023-03-02 12:42:51 -08:00 committed by TensorFlower Gardener
parent 88036c8e7e
commit a43af0e27a

View File

@ -12,6 +12,14 @@
We recommend using [SciKeras](https://github.com/adriangb/scikeras)
instead.
* The default Keras model saving format is now the Keras v3 format:
calling `model.save("xyz.keras")` will no longer create a H5 file,
it will create a native Keras model file.
This will only be breaking for you if you were manually inspecting or
modifying H5 files saved by Keras under a `.keras` extension.
If this breaks you, simply add `save_format="h5"` to your `.save()` call
to revert back to the prior behavior.
## Known Caveats
* <CAVEATS REGARDING THE RELEASE (BUT NOT BREAKING CHANGES).>