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.
2 parents 6fb5646 + 0d1fb4c commit 62bf6fcCopy full SHA for 62bf6fc
official/vision/image_classification/resnet_ctl_imagenet_main.py
@@ -199,6 +199,9 @@ def run(flags_obj):
199
'mixed_bfloat16')
200
tf.compat.v2.keras.mixed_precision.experimental.set_policy(policy)
201
202
+ # This only affects GPU.
203
+ common.set_cudnn_batchnorm_mode()
204
+
205
# TODO(anj-s): Set data_format without using Keras.
206
data_format = flags_obj.data_format
207
if data_format is None:
0 commit comments