📜  tensorflow 数据扩充 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:57.383000             🧑  作者: Mango

代码示例1
IMG_SIZE = 180resize_and_rescale = tf.keras.Sequential([  layers.experimental.preprocessing.Resizing(IMG_SIZE, IMG_SIZE),  layers.experimental.preprocessing.Rescaling(1./255)])