diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-10-16 09:03:28 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-10-16 09:08:19 -0700 |
commit | 51c115b33fecd9e96aa12c264c2c717afe8bfea8 (patch) | |
tree | 26e7f0f3bb2ee989be7d4c672e7805463fdb22ad | |
parent | 05aebd4c342c3ab432250fa3ef17bf212061f931 (diff) |
Fix typo (undefined variable `mean_absolute_error`, should refer to `error` previously defined).
PiperOrigin-RevId: 172331504
-rw-r--r-- | tensorflow/docs_src/api_guides/python/contrib.metrics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/docs_src/api_guides/python/contrib.metrics.md b/tensorflow/docs_src/api_guides/python/contrib.metrics.md index b502826e6a..1eb9cf417a 100644 --- a/tensorflow/docs_src/api_guides/python/contrib.metrics.md +++ b/tensorflow/docs_src/api_guides/python/contrib.metrics.md @@ -64,7 +64,7 @@ sess.run(tf.local_variables_initializer()) for batch in range(num_batches): sess.run([update_op_acc, update_op_error]) -accuracy, mean_absolute_error = sess.run([accuracy, mean_absolute_error]) +accuracy, error = sess.run([accuracy, error]) ``` Note that when evaluating the same metric multiple times on different inputs, |