Skip to content

Commit ae5adb5

Browse files
committed
Fix a line over 80 chars
1 parent c6479e7 commit ae5adb5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

official/resnet/cifar10_main.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ def preprocess_image(image, is_training):
127127
"""Preprocess a single image of layout [height, width, depth]."""
128128
if is_training:
129129
# Resize the image to add four extra pixels on each side.
130-
image = tf.image.resize_image_with_crop_or_pad(image, _HEIGHT + 8, _WIDTH + 8)
130+
image = tf.image.resize_image_with_crop_or_pad(
131+
image, _HEIGHT + 8, _WIDTH + 8)
131132

132133
# Randomly crop a [_HEIGHT, _WIDTH] section of the image.
133134
image = tf.random_crop(image, [_HEIGHT, _WIDTH, _DEPTH])

0 commit comments

Comments
 (0)