8ed9daf4707d86f8fe754045ae819b0961bdd290,studio/helloworld/train_mnist_keras.py,,,#,12

Before Change


from studio import fs_tracker

// this placeholder will contain our input digits, as flat vectors
img = Input((784,))
// fully-connected layer with 128 units and ReLU activation
x = Dense(128, activation="relu")(img)
x = Dense(128, activation="relu")(x)
// output layer with 10 units and a softmax activation
preds = Dense(10, activation="softmax")(x)

After Change


//model.add(Conv2D(64, 3, activation="relu"))
//model.add(Flatten())

model.add(Flatten(input_shape=(28,28,1)))
model.add(Dense(128, activation="relu"))
model.add(Dense(128, activation="relu"))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


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:


Project Name: NTMC-Community/MatchZoo
Commit Name: 478d2f388dc65736b5d67f3560328904210ef1a1
Time: 2018-12-01
Author: i@uduse.com
File Name: matchzoo/models/arci_model.py
Class Name: ArcIModel
Method Name: build


Project Name: philipperemy/deep-speaker
Commit Name: 09c2b39acc76f3561e21a0bcb65d40e9d0883fc3
Time: 2020-04-02
Author: premy.enseirb@gmail.com
File Name: v4/train_cli.py
Class Name:
Method Name: triplet_softmax_model