diff options
author | Johannes Bannhofer <4116408+joba01@users.noreply.github.com> | 2018-09-12 09:23:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 09:23:02 +0200 |
commit | 5f69ba51752561f6294705b5d66705bdf322831d (patch) | |
tree | a912b369215e3e13966b7297b07cf40daef04a20 /tensorflow/contrib/distribute | |
parent | a5d649045cf60f8b3dde5ba1ff86285c4bcc1695 (diff) |
Fixed wrong variable name in example
The Keras model used a wrong variable name in the MirroredStrategy example
Diffstat (limited to 'tensorflow/contrib/distribute')
-rw-r--r-- | tensorflow/contrib/distribute/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/distribute/README.md b/tensorflow/contrib/distribute/README.md index 30e1992c01..91a27f97b7 100644 --- a/tensorflow/contrib/distribute/README.md +++ b/tensorflow/contrib/distribute/README.md @@ -76,7 +76,7 @@ We then compile the Keras model and pass the `MirroredStrategy` object in the ```python model.compile(loss='mean_squared_error', optimizer=tf.train.GradientDescentOptimizer(learning_rate=0.2), - distribute=strategy) + distribute=distribution) ``` To train the model we call Keras `fit` API using the input dataset that we |