fork download
  1. from keras.models import Sequential
  2. from keras.layers import Dense, Activation
  3.  
  4. model = Sequential([
  5. Dense(32, input_dim=784),
  6. Activation('relu'),
  7. Dense(10),
  8. Activation('softmax'),
  9. ])
Success #stdin #stdout 2.89s 314872KB
stdin
Standard input is empty
stdout
Standard output is empty