We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef59b3c commit 3a624c2Copy full SHA for 3a624c2
official/resnet/resnet_run_loop.py
@@ -88,7 +88,7 @@ def process_record_dataset(dataset, is_training, batch_size, shuffle_buffer,
88
# critical training path. Setting buffer_size to tf.contrib.data.AUTOTUNE
89
# allows DistributionStrategies to adjust how many batches to fetch based
90
# on how many devices are present.
91
- dataset.prefetch(buffer_size=tf.contrib.data.AUTOTUNE)
+ dataset = dataset.prefetch(buffer_size=tf.contrib.data.AUTOTUNE)
92
93
return dataset
94
0 commit comments