Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created March 3, 2018 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NMZivkovic/f33b33d8a0f8d0b9acba24a79e472e4c to your computer and use it in GitHub Desktop.
Save NMZivkovic/f33b33d8a0f8d0b9acba24a79e472e4c to your computer and use it in GitHub Desktop.
from keras.layers.advanced_activations import LeakyReLU
model.add(Conv2D(32, kernel_size=(3, 3), activation='linear',input_shape=(rows, cols, 1)))
model.add(LeakyReLU(alpha=0.1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment