Save the date! Google I/O returns May 18-20 Register now

tf.data.experimental.latency_stats

Records the latency of producing each element of the input dataset.

To consume the statistics, associate a StatsAggregator with the output dataset.

tag String. All statistics recorded by the returned transformation will be associated with the given tag.

A Dataset transformation function, which can be passed to tf.data.Dataset.apply.