Skip to content

Commit

Permalink
Merge pull request #17773 from SamuelMarks:keras.engine.base_layer-de…
Browse files Browse the repository at this point in the history
…faults-to

PiperOrigin-RevId: 522379760
  • Loading branch information
tensorflower-gardener committed Apr 6, 2023
2 parents b92561a + 9603567 commit 3cb9850
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions keras/engine/base_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,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 @@ -3799,9 +3799,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
to choose types by itself. Valid values are "stateful", "stateless",
"legacy_stateful".
RandomGenerator. `None` will allow RandomGenerator to choose
types by itself. Valid values are "stateful", "stateless",
"legacy_stateful". Defaults to `None`.
**kwargs: other keyword arguments that will be passed to the parent
*class
"""
Expand Down

0 comments on commit 3cb9850

Please sign in to comment.