Documentation fix.

PiperOrigin-RevId: 192155305
This commit is contained in:
A. Unique TensorFlower 2018-04-09 11:16:17 -07:00 committed by TensorFlower Gardener
parent 20e1f3a852
commit 800f1db6f0

View File

@ -121,7 +121,7 @@ class Dataset(object):
An `Iterator` over the elements of this dataset. An `Iterator` over the elements of this dataset.
Raises: Raises:
RuntimeError: If eager execution is enabled. RuntimeError: If eager execution is not enabled.
""" """
if context.executing_eagerly(): if context.executing_eagerly():
return iterator_ops.EagerIterator(self) return iterator_ops.EagerIterator(self)