tf.contrib.training.SequenceQueueingStateSaver.close()

tf.contrib.training.SequenceQueueingStateSaver.close(cancel_pending_enqueues=False, name=None)

Closes the barrier and the FIFOQueue.

This operation signals that no more segments of new sequences will be enqueued. New segments of already inserted sequences may still be enqueued and dequeued if there is a sufficient number filling a batch or allow_small_batch is true. Otherwise dequeue operations will fail immediately.

Args:
  • cancel_pending_enqueues: (Optional.) A boolean, defaulting to False. If True, all pending enqueues to the underlying queues will be cancelled, and completing already started sequences is not possible.
  • name: Optional name for the op.
Returns:

The operation that closes the barrier and the FIFOQueue.

doc_TensorFlow
2016-10-14 13:07:31
Comments
Leave a Comment

Please login to continue.