tf.contrib.training.NextQueuedSequenceBatch.insertion_index

tf.contrib.training.NextQueuedSequenceBatch.insertion_index

The insertion indices of the examples (when they were first added).

These indices start with the value -2**63 and increase with every call to the prefetch op. Each whole example gets its own insertion index, and this is used to prioritize the example so that its truncated segments appear in adjacent iterations, even if new examples are inserted by the prefetch op between iterations.

Returns:

An int64 vector of length batch_size, the insertion indices.

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

Please login to continue.