Question 15 of 280
Single answerYou have been asked to develop an input pipeline for an ML training model that processes images from disparate
sources at a low latency. You discover that your input data does not fit in memory. How should you create a dataset
following Google-recommended best practices?
ACreate a tf.data.Dataset.prefetch transformation.
BConvert the images to tf.Tensor objects, and then run Dataset.from_tensor_slices().
CConvert the images to tf.Tensor objects, and then run tf.data.Dataset.from_tensors().
✓DConvert the images into TFRecords, store the images in Cloud Storage, and then use the tf.data API to read
the images for training.
✓
Correct Answer: D
Convert the images into TFRecords, store the images in Cloud Storage, and then use the tf.data API to read the images for training.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.