Last active
June 23, 2021 17:31
-
-
Save um4ng-tiw/e91ecb7fd1dab64249cc56c9f5806e13 to your computer and use it in GitHub Desktop.
This file contains 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
from tensorflow.keras import regularizers | |
model = Sequential() | |
model.add(Flatten(input_shape = ((28,28)))) | |
model.add(Dropout(0.05)) | |
model.add(Dense(128, activation = "relu")) | |
model.add(Dense(64, activation = "relu")) | |
model.add(Dropout(0.05)) | |
model.add(Dense(10,activation="softmax")) | |
model.summary() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment