prefetch
2020-12-14 本文已影响0人
HelloSam
dataset_image = dataset_image.shuffle(image_all_num).batch(BATCH_SIZE).prefetch(tf.data.experimental.AUTOTUNE)
dataset_image = dataset_image.shuffle(image_all_num).batch(BATCH_SIZE).prefetch(tf.data.experimental.AUTOTUNE)