diff options
author | 2017-03-03 13:47:31 -0800 | |
---|---|---|
committer | 2017-03-03 14:06:04 -0800 | |
commit | 3a0924bc29940f334711d096cd10737af30cff43 (patch) | |
tree | dd27e230c821584b0988f8ad3a7484be28191285 /tensorflow/python/training/queue_runner_impl.py | |
parent | 45210314e24bec4f544d0781c827f1909a75d953 (diff) |
Fix the error message returned from _init_from_args function in QueueRunner to state that the input argument queue_closed_exception_types, if passed, should be of type 'tuple'.
Change: 149149270
Diffstat (limited to 'tensorflow/python/training/queue_runner_impl.py')
-rw-r--r-- | tensorflow/python/training/queue_runner_impl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/training/queue_runner_impl.py b/tensorflow/python/training/queue_runner_impl.py index 91999fa37d..3901470fbc 100644 --- a/tensorflow/python/training/queue_runner_impl.py +++ b/tensorflow/python/training/queue_runner_impl.py @@ -128,7 +128,7 @@ class QueueRunner(object): for t in queue_closed_exception_types)): raise TypeError( "queue_closed_exception_types, when provided, " - "must be a non-empty list of tf.error types, but saw: %s" + "must be a tuple of tf.error types, but saw: %s" % queue_closed_exception_types) self._queue_closed_exception_types = queue_closed_exception_types # Close when no more will be produced, but pending enqueues should be |