TensorFlow

API

 tf.compat / v1 / v1.train.input_producer


Returns tensor num_epochs times and then raises an OutOfRange error. (deprecated)

tensor Any Tensor.
num_epochs A positive integer (optional). If specified, limits the number of steps the output tensor may be evaluated.
name A name for the operations (optional).

tensor or OutOfRange.

ValueError if num_epochs is invalid.

此页内容是否对您有帮助