aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/training/supervisor.py
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <nobody@tensorflow.org>2016-04-26 19:02:04 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-04-26 20:11:29 -0700
commit09a8219c3ab7c75f263a7f309ac7bfb9b1e92089 (patch)
tree2167ca56c5c11e3d9c83490cbea4c1662d750b9c /tensorflow/python/training/supervisor.py
parent4503f77ecb2a4a4377b7b9fbf76792efc71650ce (diff)
Change `tf.errors.OutOfRange` to `tf.errors.OutOfRangeError` in documentation.
Change: 120880200
Diffstat (limited to 'tensorflow/python/training/supervisor.py')
-rw-r--r--tensorflow/python/training/supervisor.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tensorflow/python/training/supervisor.py b/tensorflow/python/training/supervisor.py
index 1915aeb08d..1e1cda23b6 100644
--- a/tensorflow/python/training/supervisor.py
+++ b/tensorflow/python/training/supervisor.py
@@ -72,8 +72,9 @@ class Supervisor(object):
check for `sv.should_stop()`.
Exceptions that indicate that the training inputs have been exhausted,
- `tf.errors.OutOfRange`, also cause `sv.should_stop()` to return `True` but
- are not re-raised from the `with` block: they indicate a normal termination.
+ `tf.errors.OutOfRangeError`, also cause `sv.should_stop()` to return `True`
+ but are not re-raised from the `with` block: they indicate a normal
+ termination.
#### Use for multiple replicas