diff --git a/keras/saving/legacy/saved_model/json_utils.py b/keras/saving/legacy/saved_model/json_utils.py index 6d133bb1c41..05b0e285be7 100644 --- a/keras/saving/legacy/saved_model/json_utils.py +++ b/keras/saving/legacy/saved_model/json_utils.py @@ -95,8 +95,8 @@ def _decode_helper( Args: obj: A decoded dictionary that may represent an object. - deserialize: Boolean, defaults to False. When True, deserializes any Keras - objects found in `obj`. + deserialize: Boolean. When True, deserializes any Keras + objects found in `obj`. Defaults to `False`. module_objects: A dictionary of built-in objects to look the name up in. Generally, `module_objects` is provided by midlevel library implementers. diff --git a/keras/saving/legacy/saved_model/save.py b/keras/saving/legacy/saved_model/save.py index 601f4c089ab..7d99a15485b 100644 --- a/keras/saving/legacy/saved_model/save.py +++ b/keras/saving/legacy/saved_model/save.py @@ -64,9 +64,9 @@ def save( save_traces: (only applies to SavedModel format) When enabled, the SavedModel will store the function traces for each layer. This can be disabled, so that only the configs of each layer are stored. - Defaults to `True`. Disabling this will decrease serialization time - and reduce file size, but it requires that all custom layers/models - implement a `get_config()` method. + Disabling this will decrease serialization time and filesize, but + it requires that all custom layers/models implement a + `get_config()` method. Defaults to `True`. Raises: ValueError: if the model's inputs have not been defined.