Question 103 of 280
Single answerYou recently developed a deep learning model using Keras, and now you are experimenting with different training strategies. First, you trained the model using a single GPU, but the training process was too slow. Next, you distributed the training across 4 GPUs using tf.distribute.MirroredStrategy (with no other changes), but you did not observe a decrease in training time. What should you do?
ADistribute the dataset with tf.distribute.Strategy.experimental_distribute_dataset
BCreate a custom training loop.
CUse a TPU with tf.distribute.TPUStrategy.
✓DIncrease the batch size.
✓
Correct Answer: D
Increase the batch size.
▥
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.