736ba6c6873290fdae110395040f76ba7ab0ff19,tests/test_net_transformer.py,,test_net_transformer,#,3
Before Change
def test_net_transformer():
model_a = Sequential()
model_a.add(Conv2D(32, (3, 3), activation="relu", input_shape=(28, 28, 1)))
model_a.add(Conv2D(32, (3, 3), activation="relu"))
model_a.add(MaxPooling2D(pool_size=(2, 2)))
model_a.add(Dropout(0.25))
After Change
model.add(Conv2D(64, (3, 3), activation="relu",padding="same"))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Dropout(0.25))
model.add(Flatten())
model.add(Dense(128, activation="relu"))
model.add(Dropout(0.5))
model.add(Dense(10, activation="softmax"))
//ßprint(model.summary())
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: keras-team/autokeras
Commit Name: 736ba6c6873290fdae110395040f76ba7ab0ff19
Time: 2017-12-17
Author: wangtaoo665@gmail.com
File Name: tests/test_net_transformer.py
Class Name:
Method Name: test_net_transformer
Project Name: modAL-python/modAL
Commit Name: b673a26860c1598e7ef66a301743a2ff1d96b61f
Time: 2018-04-16
Author: theodore.danka@gmail.com
File Name: examples/keras_integration.py
Class Name:
Method Name: create_keras_model
Project Name: studioml/studio
Commit Name: 8ed9daf4707d86f8fe754045ae819b0961bdd290
Time: 2017-07-26
Author: peter.zhokhov@sentient.ai
File Name: studio/helloworld/train_mnist_keras.py
Class Name:
Method Name: