Skip to content

Commit

Permalink
[keras/engine/base_layer.py] Standardise docstring usage of "Defaults…
Browse files Browse the repository at this point in the history
… to"
  • Loading branch information
SamuelMarks committed Apr 4, 2023
1 parent 0f8e81f commit 339cfd1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions keras/engine/base_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def __init__(

# Whether the layer will track any layers that is set as attribute on
# itself as sub-layers, the weights from the sub-layers will be included
# in the parent layer's variables() as well. Default to True, which
# in the parent layer's variables() as well. Defaults to `True`, which
# means auto tracking is turned on. Certain subclass might want to turn
# it off, like Sequential model.
self._auto_track_sub_layers = True
Expand Down Expand Up @@ -3830,9 +3830,9 @@ def __init__(
force_generator: boolean, default to False, whether to force the
RandomGenerator to use the code branch of tf.random.Generator.
rng_type: string, the rng type that will be passed to backend
RandomGenerator. Default to `None`, which will allow RandomGenerator
RandomGenerator. `None`, will allow RandomGenerator
to choose types by itself. Valid values are "stateful", "stateless",
"legacy_stateful".
"legacy_stateful". Defaults to `None`.
**kwargs: other keyword arguments that will be passed to the parent
*class
"""
Expand Down

0 comments on commit 339cfd1

Please sign in to comment.