tf.keras.applications.inception_v3.preprocess_input

Aliases:

  • tf.keras.applications.inception_v3.preprocess_input
  • tf.keras.applications.nasnet.preprocess_input
tf.keras.applications.inception_v3.preprocess_input(x)

Defined in tensorflow/python/keras/_impl/keras/applications/inception_v3.py.

Preprocesses a numpy array encoding a batch of images.

Arguments:

  • x: a 4D numpy array consists of RGB values within [0, 255].

Returns:

Preprocessed array.