From: Shivani Agrawal Date: Thu, 26 Apr 2018 22:15:37 +0000 (-0700) Subject: [tf.data] Changes description for `bytes_produced_stats` and `latency_stats` in accor... X-Git-Tag: upstream/v1.9.0_rc1~206^2~1^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ec93b497a3b45aae5c6dfd97637499e9e8011ee;p=platform%2Fupstream%2Ftensorflow.git [tf.data] Changes description for `bytes_produced_stats` and `latency_stats` in accordance with the breaking changes in cl/193432590. PiperOrigin-RevId: 194461964 --- diff --git a/tensorflow/contrib/data/python/ops/stats_ops.py b/tensorflow/contrib/data/python/ops/stats_ops.py index d391720..3cbaab5 100644 --- a/tensorflow/contrib/data/python/ops/stats_ops.py +++ b/tensorflow/contrib/data/python/ops/stats_ops.py @@ -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