From 8f5592bcb61ff48c96560c8923e482db1076b54a Mon Sep 17 00:00:00 2001 From: keerthanakadiri <147126008+keerthanakadiri@users.noreply.github.com> Date: Tue, 8 Oct 2024 19:17:26 +0530 Subject: [PATCH] Fix typos in documentation Initializer (#20331) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- keras/src/initializers/initializer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keras/src/initializers/initializer.py b/keras/src/initializers/initializer.py index 6d870488c3f..cef22f378c5 100644 --- a/keras/src/initializers/initializer.py +++ b/keras/src/initializers/initializer.py @@ -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.