Skip to content

Instantly share code, notes, and snippets.

@adhadse
Last active May 23, 2021 10:53
Show Gist options
  • Save adhadse/041efb06d92eedc55f621c69e9b6d5e3 to your computer and use it in GitHub Desktop.
Save adhadse/041efb06d92eedc55f621c69e9b6d5e3 to your computer and use it in GitHub Desktop.
model = keras.models.Sequential([
keras.layers.Flatten(input_shape=[28, 28]),
keras.layers.Dense(300, activation="relu"),
keras.layers.Dense(100, activation="relu"),
keras.layers.Dense(10, activation="softmax")
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment