

To get a reproducible benchmark, you will build an artificial example. Different factors affecting reproducibility include: Making reproducible performance benchmarks can be difficult. Throughout this guide, you will iterate across a dataset and measure the performance. Analyze tf.data performance with the TF Profiler.

This document demonstrates how to use the tf.data API to build highly performant TensorFlow input pipelines.īefore you continue, check the Build TensorFlow input pipelines guide to learn how to use the tf.data API. The tf.data API helps to build flexible and efficient input pipelines. GPUs and TPUs can radically reduce the time required to execute a single training step.Īchieving peak performance requires an efficient input pipeline that delivers data for the next step before the current step has finished.
