From f673a86e1c94944957487c41253ff19b50175a07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cjaketae=E2=80=9D?= Date: Tue, 10 Mar 2020 19:04:35 +0900 Subject: [PATCH] Fixed whitespace --- tensorflow/python/keras/applications/imagenet_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/python/keras/applications/imagenet_utils.py b/tensorflow/python/keras/applications/imagenet_utils.py index 5c3fdbe20b0..4b73b1c9bf9 100644 --- a/tensorflow/python/keras/applications/imagenet_utils.py +++ b/tensorflow/python/keras/applications/imagenet_utils.py @@ -97,7 +97,7 @@ PREPROCESS_INPUT_RET_DOC_CAFFE = """ @keras_export('keras.applications.imagenet_utils.preprocess_input') def preprocess_input(x, data_format=None, mode='caffe'): """Preprocesses a tensor or Numpy array encoding a batch of images.""" - if mode not in {'caffe', 'tf','torch'}: + if mode not in {'caffe', 'tf', 'torch'}: raise ValueError('Unknown mode ' + str(mode)) if data_format is None: