Created
August 11, 2019 19:41
-
-
Save NMZivkovic/6ea070feb6477c875634b772c0b2ac1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import keras.layers as L | |
import keras.models as M | |
my_input = L.Input(shape=(100,)) | |
intermediate = L.Dense(10, activation='relu')(my_input) | |
my_output = L.Dense(1, activation='softmax')(intermediate) | |
model = M.Model(input=my_input, output=my_output) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment