Skip to content

Instantly share code, notes, and snippets.

@mohammedouahman
Created November 17, 2021 18:32
Show Gist options
  • Save mohammedouahman/6bb38a09a23cf39c9f42b44e5ec5dad9 to your computer and use it in GitHub Desktop.
Save mohammedouahman/6bb38a09a23cf39c9f42b44e5ec5dad9 to your computer and use it in GitHub Desktop.
model = tf.keras.Sequential([
tf.keras.layers.Flatten(input_shape=(28, 28)),
tf.keras.layers.Dense(128, activation='relu'),
tf.keras.layers.Dense(10)
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment