tf.contrib.input_pipeline.obtain_next
Basic wrapper for the ObtainNextOp.
tf.contrib.input_pipeline.obtain_next(
string_list_tensor, counter
)
| 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. |
© 2020 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/versions/r1.15/api_docs/python/tf/contrib/input_pipeline/obtain_next