tf.contrib.input_pipeline.obtain_next
Основной обёрткой для ObtainNextOp.
tf.contrib.input_pipeline.obtain_next(
string_list_tensor, counter
)
| Аргументы | |
|---|---|
string_list_tensor | Тензор, являющийся списком строк |
counter | ссылка на тензор типа int64 для отслеживания возвращаемого элемента. |
| Возвращаемое значение | |
|---|---|
| Операция, которая генерирует элемент с индексом counter + 1 в списке, по принципу круговой очереди. |
© 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