Skip to content

Commit

Permalink
Add Normalization layer docs, fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed May 8, 2020
1 parent 85ec17a commit bedf0b5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion guides/making_new_layers_and_models_via_subclassing.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ def call(self, inputs, training=None):
literature as a "model" (as in "deep learning model") or as a "network" (as in
"deep neural network").
So if you'ree wondering, "should I use the `Layer` class or the `Model` class?",
So if you're wondering, "should I use the `Layer` class or the `Model` class?",
ask yourself: will I need to call `fit()` on it? Will I need to call `save()`
on it? If so, go with `Model`. If not (either because your class is just a block
in a bigger system, or because you are writing training & saving code yourself),
Expand Down
2 changes: 1 addition & 1 deletion guides/md/making_new_layers_and_models_via_subclassing.md
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ Meanwhile, the `Model` class corresponds to what is referred to in the
literature as a "model" (as in "deep learning model") or as a "network" (as in
"deep neural network").

So if you'ree wondering, "should I use the `Layer` class or the `Model` class?",
So if you're wondering, "should I use the `Layer` class or the `Model` class?",
ask yourself: will I need to call `fit()` on it? Will I need to call `save()`
on it? If so, go with `Model`. If not (either because your class is just a block
in a bigger system, or because you are writing training & saving code yourself),
Expand Down
5 changes: 5 additions & 0 deletions scripts/layers_master.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,11 @@
'title': 'TextVectorization layer',
'generate': ['tensorflow.keras.layers.experimental.preprocessing.TextVectorization']
},
{
'path': 'normalization',
'title': 'Normalization layer',
'generate': ['tensorflow.keras.layers.experimental.preprocessing.Normalization']
},
]
},
# {
Expand Down
2 changes: 1 addition & 1 deletion theme/landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h2>Iterate at the speed of thought.</h2>
Keras is the most used deep learning framework among top-5 winning teams on <a href='https://www.kaggle.com/'>Kaggle</a>.
Because Keras makes it easier to run new experiments,
it empowers you to try more ideas than your competition, faster.
And this how you win.
And this is how you win.
</p>
</div>
</div>
Expand Down

0 comments on commit bedf0b5

Please sign in to comment.