(x)
return imagenet_utils.preprocess_input(x, mode='tf')
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.
Preprocesses a numpy array encoding a batch of images.
Preprocesses a numpy array encoding a batch of images .
def preprocess_input(x):
  """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.
  """
  return imagenet_utils.preprocess_input(x, mode='tf')
def preprocess_input ( x ) : return imagenet_utils . preprocess_input ( x , mode = 'tf' )