"references/vscode:/vscode.git/clone" did not exist on "16f0766727e5c42eb3caf7fe3f18d8d126100cb5"
Commit 04ef5c2f authored by eantaev's avatar eantaev Committed by Katherine Wu
Browse files

official/mnist: Add input_shape parameter to initial layer (#4104) (#4118)

parent 30580a35
......@@ -62,7 +62,9 @@ def create_model(data_format):
# (a subclass of tf.keras.Model) makes for a compact description.
return tf.keras.Sequential(
[
l.Reshape(input_shape),
l.Reshape(
target_shape=input_shape,
input_shape=(28 * 28,)),
l.Conv2D(
32,
5,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment