Make layer JSON config saved in checkpoints optional for restore
In general if a Python string is in the checkpoint but not used directly in the saving program, assert_consumed will pass even if the attribute is totally absent on restore. This should fix checkpoint compatibility with saved_model.load() even without proper Keras revived types. There's no reason it should fail if those aren't available for some reason. PiperOrigin-RevId: 229448783
Loading
Please sign in to comment