From: A. Unique TensorFlower Date: Fri, 18 May 2018 19:41:20 +0000 (-0700) Subject: [dataset]: Remove extra `repeat` in the docstring for `shard`. X-Git-Tag: upstream/v1.9.0_rc1~94^2^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7dd3d091a3346622c366eecc3e7509221d91fad1;p=platform%2Fupstream%2Ftensorflow.git [dataset]: Remove extra `repeat` in the docstring for `shard`. PiperOrigin-RevId: 197185877 --- diff --git a/tensorflow/python/data/ops/dataset_ops.py b/tensorflow/python/data/ops/dataset_ops.py index 6a3f6bf..6f9b12b 100644 --- a/tensorflow/python/data/ops/dataset_ops.py +++ b/tensorflow/python/data/ops/dataset_ops.py @@ -740,7 +740,6 @@ class Dataset(object): d = d.shard(FLAGS.num_workers, FLAGS.worker_index) d = d.repeat(FLAGS.num_epochs) d = d.shuffle(FLAGS.shuffle_buffer_size) - d = d.repeat() d = d.interleave(tf.data.TFRecordDataset, cycle_length=FLAGS.num_readers, block_length=1) d = d.map(parser_fn, num_parallel_calls=FLAGS.num_map_threads)