Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-09 23:35:24

0001 #!/usr/bin/env python3
0002 from __future__ import print_function
0003 import tensorflow.keras
0004 import theano
0005 
0006 from tensorflow.keras.models import Sequential
0007 from tensorflow.keras.layers import Dense
0008 
0009 print(tensorflow.keras.__version__)
0010 print(theano.__version__)
0011 
0012 model = Sequential()
0013 model.add(Dense(units=64, activation='relu', input_dim=100))
0014 model.add(Dense(units=10, activation='softmax'))