(image_file)
return np.float32(load_np_image_uint8(image_file) / 255.0)
Loads an image as a numpy array.

  Args:
    image_file: str. Image file.

  Returns:
    A 3-D numpy array of shape [image_size, image_size, 3] and dtype float32,
    with values in [0, 1].
Loads an image as a numpy array.
Loads an image as a numpy array .
def load_np_image(image_file):
  """Loads an image as a numpy array.

  Args:
    image_file: str. Image file.

  Returns:
    A 3-D numpy array of shape [image_size, image_size, 3] and dtype float32,
    with values in [0, 1].
  """
  return np.float32(load_np_image_uint8(image_file) / 255.0)
def load_np_image ( image_file ) : return np . float32 ( load_np_image_uint8 ( image_file ) / 255.0 )