tf.train.queue_runner
Create threads to run multiple enqueue ops.
class QueueRunner
: Holds a list of enqueue operations for a queue, each to be run in a thread.
add_queue_runner(...)
: Adds a QueueRunner
to a collection in the graph.
start_queue_runners(...)
: Starts all queue runners collected in the graph.
Defined in tensorflow/python/training/queue_runner.py
.
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/train/queue_runner