tf.train.limit_epochs()

tf.train.limit_epochs(tensor, num_epochs=None, name=None)

Returns tensor num_epochs times and then raises an OutOfRange error.

Args:
  • 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).
Returns:

tensor or OutOfRange.

Raises:
  • ValueError: if num_epochs is invalid.
doc_TensorFlow
2016-10-14 13:09:33
Comments
Leave a Comment

Please login to continue.