tf.keras.applications.imagenet_utils.preprocess_input

TensorFlow 1 version View source on GitHub