W3cubDocs

/TensorFlow Python

tf.FIFOQueue.from_list(index, queues)

tf.FIFOQueue.from_list(index, queues)

tf.PaddingFIFOQueue.from_list(index, queues)

tf.PriorityQueue.from_list(index, queues)

tf.QueueBase.from_list(index, queues)

tf.RandomShuffleQueue.from_list(index, queues)

Create a queue using the queue reference from queues[index].

Args:

  • index: An integer scalar tensor that determines the input that gets selected.
  • queues: A list of QueueBase objects.

Returns:

A QueueBase object.

Raises:

  • TypeError: When queues is not a list of QueueBase objects, or when the data types of queues are not all the same.

Defined in tensorflow/python/ops/data_flow_ops.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/FIFOQueue/from_list