W3cubDocs

/TensorFlow Python

tf.contrib.input_pipeline.obtain_next(string_list_tensor, counter)

tf.contrib.input_pipeline.obtain_next(string_list_tensor, counter)

Basic wrapper for the ObtainNextOp.

Args:

  • string_list_tensor: A tensor that is a list of strings
  • counter: an int64 ref tensor to keep track of which element is returned.

Returns:

An op that produces the element at counter + 1 in the list, round robin style.

Defined in tensorflow/contrib/input_pipeline/python/ops/input_pipeline_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/contrib/input_pipeline/obtain_next