Skip to content

Commit

Permalink
Fix typos in documentation Initializer (#20331)
Browse files Browse the repository at this point in the history
* Fix typos in documentation Initializer

Observed a few typos in the documentation and fixed those typos

* Update initializer.py

---------

Co-authored-by: François Chollet <[email protected]>
  • Loading branch information
keerthanakadiri and fchollet authored Oct 8, 2024
1 parent 8e67e0e commit 8f5592b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keras/src/initializers/initializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def __call__(self, shape, dtype=None, **kwargs):
# containing values drawn from a distribution of your choice.
```
Optionally, you an also implement the method `get_config()` and the class
method `from_config` in order to support serialization -- just like with
Optionally, you can also implement the method `get_config()` and the class
method `from_config` in order to support serialization, just like with
any Keras object.
Here's a simple example: a random normal initializer.
Expand Down

0 comments on commit 8f5592b

Please sign in to comment.