33ff9dbce230068e65dedb2f41a00c39c70bef93,tests/keras/layers/test_wrappers.py,,test_Bidirectional,#,80

Before Change



            // test with Sequential model
            model = Sequential()
            model.add(wrappers.Bidirectional(rnn(3), merge_mode=mode, input_shape=(3, 2)))
            model.add(core.Activation("sigmoid"))
            model.compile(loss="mse", optimizer="sgd")
            model.fit(x, y, nb_epoch=1, batch_size=5)

After Change


        model.fit(x, y, nb_epoch=1, batch_size=1)

        // test config
        model.get_config()
        model = model_from_json(model.to_json())
        model.summary()

        // test stacked bidirectional layers
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: keras-team/keras
Commit Name: 33ff9dbce230068e65dedb2f41a00c39c70bef93
Time: 2016-08-17
Author: francois.chollet@gmail.com
File Name: tests/keras/layers/test_wrappers.py
Class Name:
Method Name: test_Bidirectional


Project Name: keras-team/keras
Commit Name: 2a4f6b942db5da321c627ebc1f0ca448bf491556
Time: 2016-04-01
Author: francois.chollet@gmail.com
File Name: tests/keras/layers/test_core.py
Class Name:
Method Name: test_activity_regularization


Project Name: tryolabs/luminoth
Commit Name: 8a600f790ba68880e9a76a5eda33a3f4fccd22c4
Time: 2017-11-17
Author: javirey@gmail.com
File Name: luminoth/eval.py
Class Name:
Method Name: evaluate


Project Name: deepfakes/faceswap
Commit Name: 00990c4a353c26ed565af903ff9005813efe8864
Time: 2019-08-27
Author: 36920800+torzdf@users.noreply.github.com
File Name: lib/gui/control_helper.py
Class Name: ControlPanel
Method Name: add_info