Skip to content

Commit 52e3e26

Browse files
committed
2 parents 46a2fb6 + 200948c commit 52e3e26

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/sources/layers/core.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ A customizable autoencoder model. If `output_reconstruction = True` then dim(inp
151151

152152
- __decoder__: A [layer](./) or [layer container](./containers.md).
153153

154-
- __output_reconstruction__: If this is False the when .predict() is called the output is the deepest hidden layer's activation. Otherwise the output of the final decoder layer is presented. Be sure your validation data confirms to this logic if you decide to use any.
154+
- __output_reconstruction__: If this is False, then when .predict() is called, the output is the deepest hidden layer's activation. Otherwise, the output of the final decoder layer is presented. Be sure your validation data conforms to this logic if you decide to use any.
155155

156156
- __weights__: list of numpy arrays to set as initial weights. The list should have 1 element, of shape `(input_dim, output_dim)`.
157157

@@ -265,11 +265,11 @@ keras.layers.core.Permute(dims)
265265
```
266266
Permute the dimensions of the input data according to the given tuple. Sometimes useful for connecting RNNs and convnets together.
267267

268-
- __Input shape: This layer does not assume a specific input shape.
268+
- __Input shape__: This layer does not assume a specific input shape.
269269

270-
- __Output shape: Same as the input shape, but with the dimensions re-ordered according to the ordering specified by the tuple.
270+
- __Output shape__: Same as the input shape, but with the dimensions re-ordered according to the ordering specified by the tuple.
271271

272-
- __Argument: tuple specifying the permutation scheme (e.g. `(2, 1)` permutes the first and second dimension of the input).
272+
- __Argument__: tuple specifying the permutation scheme (e.g. `(2, 1)` permutes the first and second dimension of the input).
273273

274274
- __Example__:
275275
```python

examples/skipgram_word_embeddings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def text_generator(path=data_path):
158158

159159
word_index = tokenizer.word_index
160160
reverse_word_index = dict([(v, k) for k, v in list(word_index.items())])
161-
word_index = tokenizer.word_index
161+
162162

163163

164164
def embed_word(w):

0 commit comments

Comments
 (0)