Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created Aug 11, 2019
Embed
What would you like to do?
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