From eeedc171cd86b979515f76b87d6893e2a90d6e21 Mon Sep 17 00:00:00 2001 From: Shashank S Date: Sat, 17 Aug 2024 17:58:01 +0530 Subject: [PATCH] #177 Keras input shape Issue Solved --- ML/TensorFlow/Basics/tutorial3-neuralnetwork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ML/TensorFlow/Basics/tutorial3-neuralnetwork.py b/ML/TensorFlow/Basics/tutorial3-neuralnetwork.py index a36a3d95..208623f3 100644 --- a/ML/TensorFlow/Basics/tutorial3-neuralnetwork.py +++ b/ML/TensorFlow/Basics/tutorial3-neuralnetwork.py @@ -17,7 +17,7 @@ # Sequential API (Very convenient, not very flexible) model = keras.Sequential( [ - keras.Input(shape=(28 * 28)), + keras.Input(shape=(28 * 28,)), layers.Dense(512, activation="relu"), layers.Dense(256, activation="relu"), layers.Dense(10),