Skip to content

Commit 44a0e18

Browse files
Update mlp.py
Corrected typo in comment: "compilie" -> "compile"
1 parent 0eb0bcd commit 44a0e18

File tree

1 file changed

+1
-1
lines changed
  • 9- How to imlement a simple neural network with TensorFlow/code

1 file changed

+1
-1
lines changed

9- How to imlement a simple neural network with TensorFlow/code/mlp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def generate_dataset(num_samples, test_size=0.33):
3939
# choose optimiser
4040
optimizer = tf.keras.optimizers.SGD(learning_rate=0.1)
4141

42-
# compilie model
42+
# compile model
4343
model.compile(optimizer=optimizer, loss='mse')
4444

4545
# train model

0 commit comments

Comments
 (0)