Skip to content

Instantly share code, notes, and snippets.

@alonlavian
Created April 19, 2019 12:35
Show Gist options
  • Save alonlavian/2e0592179f49dea868e5c6387cdd048c to your computer and use it in GitHub Desktop.
Save alonlavian/2e0592179f49dea868e5c6387cdd048c to your computer and use it in GitHub Desktop.
an example of adding a dropout layer to a CNN
tf.keras.layers.Dense(1024, activation='relu'),
tf.keras.layers.Dropout(0.75),
tf.keras.layers.Dense(1, activation='sigmoid') ])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment