For loading image data from disk, Keras is providing the tf.keras.preprocessing.image_dataset_from_directory() method, which is documented on https://keras
tf.keras.preprocessing.image_dataset_from_directory()