ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.data.experimental.bytes_produced_stats

TensorFlow 2 version View source on GitHub

Records the number of bytes produced by 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.