Skip to content

Commit b09ec1c

Browse files
nnadeaufchollet
authored andcommitted
fixing typos (keras-team#10016)
1 parent 30c34ff commit b09ec1c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/templates/getting-started/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,5 +622,5 @@ module via
622622
import h5py
623623
```
624624

625-
If it imports without error it is installed ortherwise you can find detaild
625+
If it imports without error it is installed otherwise you can find detailed
626626
installation instructions here: http://docs.h5py.org/en/latest/build.html

keras/engine/topology.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ def updates(self):
18951895
"""Retrieves the model's updates.
18961896
18971897
Will only include updates that are either
1898-
inconditional, or conditional on inputs to this model
1898+
unconditional, or conditional on inputs to this model
18991899
(e.g. will not include updates that depend on tensors
19001900
that aren't inputs to this model).
19011901
@@ -1924,7 +1924,7 @@ def losses(self):
19241924
"""Retrieves the model's losses.
19251925
19261926
Will only include losses that are either
1927-
inconditional, or conditional on inputs to this model
1927+
unconditional, or conditional on inputs to this model
19281928
(e.g. will not include losses that depend on tensors
19291929
that aren't inputs to this model).
19301930

tests/test_model_saving.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def test_saving_model_with_long_layer_names():
519519

520520
os.remove(fname)
521521

522-
# The chunking of layer names array should have happend.
522+
# The chunking of layer names array should have happened.
523523
assert n_layer_names_arrays > 0
524524

525525
out2 = model.predict(x)
@@ -564,7 +564,7 @@ def test_saving_model_with_long_weights_names():
564564

565565
os.remove(fname)
566566

567-
# The chunking of layer names array should have happend.
567+
# The chunking of layer names array should have happened.
568568
assert n_weight_names_arrays > 0
569569

570570
out2 = model.predict(x)

0 commit comments

Comments
 (0)