tf.keras.applications.vgg16.preprocess_input

TensorFlow 2 version View source on GitHub