Home | History | Annotate | Download | only in python

Lines Matching defs:Iterator

48 class Iterator(object):
49 """An iterator producing tf.Tensor objects from a tf.data.Dataset."""
52 """Creates a new iterator over the given dataset.
57 for x in Iterator(dataset):
61 Tensors produced will be placed on the device on which this iterator object
86 self._resource = gen_dataset_ops.iterator(
108 remote_iterator = iterator_ops.Iterator.from_string_handle(
149 # boost by invoking the iterator synchronously.
169 """Returns the class of each component of an element of this iterator.
181 """Returns the shape of each component of an element of this iterator.
191 """Returns the type of each component of an element of this iterator.