提交 b09ec1c9 编写于 作者: N Nicholas Nadeau, P.Eng., AVS 提交者: François Chollet

fixing typos (#10016)

上级 30c34ff6
...@@ -622,5 +622,5 @@ module via ...@@ -622,5 +622,5 @@ module via
import h5py import h5py
``` ```
If it imports without error it is installed ortherwise you can find detaild If it imports without error it is installed otherwise you can find detailed
installation instructions here: http://docs.h5py.org/en/latest/build.html installation instructions here: http://docs.h5py.org/en/latest/build.html
\ No newline at end of file
...@@ -1895,7 +1895,7 @@ class Container(Layer): ...@@ -1895,7 +1895,7 @@ class Container(Layer):
"""Retrieves the model's updates. """Retrieves the model's updates.
Will only include updates that are either Will only include updates that are either
inconditional, or conditional on inputs to this model unconditional, or conditional on inputs to this model
(e.g. will not include updates that depend on tensors (e.g. will not include updates that depend on tensors
that aren't inputs to this model). that aren't inputs to this model).
...@@ -1924,7 +1924,7 @@ class Container(Layer): ...@@ -1924,7 +1924,7 @@ class Container(Layer):
"""Retrieves the model's losses. """Retrieves the model's losses.
Will only include losses that are either Will only include losses that are either
inconditional, or conditional on inputs to this model unconditional, or conditional on inputs to this model
(e.g. will not include losses that depend on tensors (e.g. will not include losses that depend on tensors
that aren't inputs to this model). that aren't inputs to this model).
......
...@@ -519,7 +519,7 @@ def test_saving_model_with_long_layer_names(): ...@@ -519,7 +519,7 @@ def test_saving_model_with_long_layer_names():
os.remove(fname) os.remove(fname)
# The chunking of layer names array should have happend. # The chunking of layer names array should have happened.
assert n_layer_names_arrays > 0 assert n_layer_names_arrays > 0
out2 = model.predict(x) out2 = model.predict(x)
...@@ -564,7 +564,7 @@ def test_saving_model_with_long_weights_names(): ...@@ -564,7 +564,7 @@ def test_saving_model_with_long_weights_names():
os.remove(fname) os.remove(fname)
# The chunking of layer names array should have happend. # The chunking of layer names array should have happened.
assert n_weight_names_arrays > 0 assert n_weight_names_arrays > 0
out2 = model.predict(x) out2 = model.predict(x)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册