code_1.py 153 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2 3
from keras import optimizers # 导入优化器
cnn = models.Sequential() # 贯序模型
cnn.add(layers.Conv2D(32, (3, 3), activation='relu', # 卷积层