A stateful resource that aggregates statistics from one or more iterators.
tf.compat.v2.data.experimental.StatsAggregator()
To record statistics, use one of the custom transformation functions defined
in this module when defining your tf.data.Dataset. All statistics will be
aggregated by the StatsAggregator that is associated with a particular
iterator (see below). For example, to record the latency of producing each
element by iterating over a dataset:
To associate a StatsAggregator with a tf.data.Dataset object, use
the following pattern:
aggregator=tf.data.experimental.StatsAggregator()dataset=...# Apply `StatsOptions` to associate `dataset` with `aggregator`.options=tf.data.Options()options.experimental_stats.aggregator=aggregatordataset=dataset.with_options(options)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-01 UTC."],[],[]]