5559868569ef202bc1d7e88588ef7f7f11cd56a9,test/test_models.py,,,#,367

Before Change



if __name__ == "__main__":
    // Run Test
    unittest.TextTestRunner(verbosity=2).run(suite())

After Change


for p in test_embeddings:
    _add_test(p, "embeddings_forward")

tests_encoder = [[],
                 [("encoder_layer", "mean")],
                // [("encoder_layer", "transformer"), ("word_vec_size", 16), ("rnn_size", 16)],
                 []]

for p in tests_encoder:
    _add_test(p, "encoder_forward")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: OpenNMT/OpenNMT-py
Commit Name: 5559868569ef202bc1d7e88588ef7f7f11cd56a9
Time: 2017-07-18
Author: s.gehrmann@outlook.com
File Name: test/test_models.py
Class Name:
Method Name:


Project Name: googledatalab/pydatalab
Commit Name: 1cc9d1193a5c3b7dbb7ffdd3c21f8e618f9a60fb
Time: 2017-05-17
Author: qimingj@users.noreply.github.com
File Name: tests/main.py
Class Name:
Method Name:


Project Name: vatlab/SoS
Commit Name: e3b90cfc15d91e73a0a76c8b9c932fa4a7ac2ea1
Time: 2016-11-30
Author: ben.bog@gmail.com
File Name: test/run_tests.py
Class Name:
Method Name: