🔥 3-day streak
Professional Machine Learning Engineer102 / 166
Question 102 of 166

Your team trains a TensorFlow image classification model on a Vertex AI single-GPU instance. The dataset is 200 GB of TFRecords stored in Cloud Storage and does not fit in memory. During profiling you notice the GPU sits idle between steps, and each epoch reads the data from Cloud Storage anew. You want to maximize GPU utilization and reduce redundant reads without changing hardware. Which tf.data pipeline configuration should you apply?

Reviewed for accuracy · Report an issueNext question