fix(4.2):代码块

This commit is contained in:
46135621
2023-04-20 02:13:49 +08:00
parent b00c20bf39
commit 6bf9d29d2d

View File

@@ -334,7 +334,7 @@ print('y_pred=',y_test.data)
```python
model = Sequential([Dense(32, input_shape=(784,)),
Activation('relu'),Dense(10),Activation('softmax')])
Activation('relu'),Dense(10),Activation('softmax')])
# 你也可以通过 .add() 方法简单地添加层:
model = Sequential()
model.add(Dense(32, input_dim=784))