keras.preprocessing.image.save_img fileformat code example
Example: save_img keras
tf.keras.preprocessing.image.save_img(
path, x, data_format=None, file_format=None, scale=True, **kwargs
)
# here x is numpy array
tf.keras.preprocessing.image.save_img(
path, x, data_format=None, file_format=None, scale=True, **kwargs
)
# here x is numpy array