📅  最后修改于: 2022-03-11 14:57:57.383000             🧑  作者: Mango
IMG_SIZE = 180resize_and_rescale = tf.keras.Sequential([ layers.experimental.preprocessing.Resizing(IMG_SIZE, IMG_SIZE), layers.experimental.preprocessing.Rescaling(1./255)])