def reset(self, feed_dict={}):
    if self._is_eager:
        self._eager_iterator = tfe.Iterator(self._dataset)
    else:
        self._sess.run(self._iterator.initializer, feed_dict=feed_dict)
def reset(self, feed_dict={}):
    if self._is_eager:
        self._eager_iterator = tfe.Iterator(self._dataset)
    else:
        self._sess.run(self._iterator.initializer, feed_dict=feed_dict)