Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 35b13cf

Browse files
committedSep 18, 2024·
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c004e54 commit 35b13cf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎machine_learning/neural_networks/cnn_mnist.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@
5757
model.add(layers.Dense(10, activation="softmax"))
5858

5959
# Compile the model
60-
model.compile(optimizer="adam", loss="categorical_crossentropy",
61-
metrics=["accuracy"])
60+
model.compile(optimizer="adam", loss="categorical_crossentropy", metrics=["accuracy"])
6261

6362
# Display the model summary
6463
model.summary()

0 commit comments

Comments
 (0)
Please sign in to comment.