contrib.input_pipeline.obtain_next

tf.contrib.input_pipeline.obtain_next

tf.contrib.input_pipeline.obtain_next

obtain_next(
    string_list_tensor,
    counter
)

Defined in tensorflow/contrib/input_pipeline/python/ops/input_pipeline_ops.py.

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.

© 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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部