tf.contrib.input_pipeline.obtain_next
Stay organized with collections
Save and categorize content based on your preferences.
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.input_pipeline.obtain_next\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [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) |\n\nBasic wrapper for the ObtainNextOp. \n\n tf.contrib.input_pipeline.obtain_next(\n string_list_tensor, counter\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|----------------------|-----------------------------------------------------------------|\n| `string_list_tensor` | A tensor that is a list of strings |\n| `counter` | an int64 ref tensor to keep track of which element is returned. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| An op that produces the element at counter + 1 in the list, round robin style. ||\n\n\u003cbr /\u003e"]]