Skip to content

Instantly share code, notes, and snippets.

@satishgunjal
Created October 17, 2020 07:42
Show Gist options
  • Save satishgunjal/75d8946e055928a526f6f5a1cb4e78b5 to your computer and use it in GitHub Desktop.
Save satishgunjal/75d8946e055928a526f6f5a1cb4e78b5 to your computer and use it in GitHub Desktop.
model
model = tf.keras.Sequential([
tf.keras.layers.Flatten(input_shape=(28,28)),
tf.keras.layers.Dense(128, activation= 'relu'),
tf.keras.layers.Dense(10) # linear activation function
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment