# tf.contrib.input_pipeline.obtain_next

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/input_pipeline/python/ops/input_pipeline_ops.py#L35-L46) |

Basic wrapper for the ObtainNextOp.

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

<br />

<br />

<br />

| ## 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. |

<br />

<br />

<br />

<br />

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

<br />