tf.keras.preprocessing.image.save_img

View source on GitHub

Saves an image stored as a Numpy array to a path or file object.

tf.keras.preprocessing.image.save_img(
    path, x, data_format=None, file_format=None, scale=True, **kwargs
)

Arguments: