Skip to content

Commit 0d1fb4c

Browse files
committed
Add more comments
1 parent a530431 commit 0d1fb4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

official/vision/image_classification/resnet_ctl_imagenet_main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ def run(flags_obj):
197197
'mixed_bfloat16')
198198
tf.compat.v2.keras.mixed_precision.experimental.set_policy(policy)
199199

200+
# This only affects GPU.
200201
common.set_cudnn_batchnorm_mode()
201202

202203
# TODO(anj-s): Set data_format without using Keras.

0 commit comments

Comments
 (0)