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

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

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.

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