[tf.data] Changes description for `bytes_produced_stats` and `latency_stats` in accor...
authorShivani Agrawal <shivaniagrawal@google.com>
Thu, 26 Apr 2018 22:15:37 +0000 (15:15 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 26 Apr 2018 22:19:55 +0000 (15:19 -0700)
PiperOrigin-RevId: 194461964

tensorflow/contrib/data/python/ops/stats_ops.py

index d391720..3cbaab5 100644 (file)
@@ -136,8 +136,8 @@ def set_stats_aggregator(stats_aggregator):
 def bytes_produced_stats(tag):
   """Records the number of bytes produced by each element of the input dataset.
 
-  To consume the statistics, associate a `StatsAggregator` with an iterator
-  over the output dataset.
+  To consume the statistics, associate a `StatsAggregator` with the output
+  dataset.
 
   Args:
     tag: String. All statistics recorded by the returned transformation will
@@ -158,8 +158,8 @@ def bytes_produced_stats(tag):
 def latency_stats(tag):
   """Records the latency of producing each element of the input dataset.
 
-  To consume the statistics, associate a `StatsAggregator` with an iterator
-  over the output dataset.
+  To consume the statistics, associate a `StatsAggregator` with the output
+  dataset.
 
   Args:
     tag: String. All statistics recorded by the returned transformation will