Which modifications should you make to the tf .data dataset?


You are training a Resnet model on Al Platform using TPUs to visually categorize types of defects in automobile engines. You capture the training profile using the Cloud TPU profiler plugin and observe that it is highly input-bound. You want to reduce the bottleneck and speed up your model training process.

Which modifications should you make to the tf .data dataset? Choose 2 answers
A . Use the interleave option for reading data
B . Reduce the value of the repeat parameter
C . Increase the buffer size for the shuffle option.
D . Set the prefetch option equal to the training batch size
E . Decrease the batch size argument in your transformation

Answer: A,D

Leave a Reply

Your email address will not be published.