545acc4b66b5fb0ed5457ef7288d836f022c118d,tests/keras/backend/backend_test.py,TestBackend,test_linear_operations,#TestBackend#,201

Before Change



        check_single_tensor_operation("transpose", (4, 2), BACKENDS)
        check_single_tensor_operation("reverse", (4, 3, 2), BACKENDS, axes=1)
        check_single_tensor_operation("reverse", (4, 3, 2), [KTH, KTF], axes=(1, 2))

    def test_random_variables(self):
        check_single_tensor_operation("random_uniform_variable", (2, 3), BACKENDS,

After Change



        check_single_tensor_operation("transpose", (4, 2), WITH_NP)
        check_single_tensor_operation("reverse", (4, 3, 2), WITH_NP, axes=1)
        if K.backend() != "cntk":
            check_single_tensor_operation("reverse", (4, 3, 2), WITH_NP, axes=(1, 2))

    def test_random_variables(self):
        check_single_tensor_operation("random_uniform_variable", (2, 3), WITH_NP,
                                      low=0., high=1.,
                                      shape_or_val=False, assert_value_equality=False)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 5

Instances


Project Name: keras-team/keras
Commit Name: 545acc4b66b5fb0ed5457ef7288d836f022c118d
Time: 2018-09-01
Author: me@taehoonlee.com
File Name: tests/keras/backend/backend_test.py
Class Name: TestBackend
Method Name: test_linear_operations


Project Name: keras-team/keras
Commit Name: 8f41e41eda6e8ea96403cae5798a5a89c8bb5605
Time: 2018-12-20
Author: frederic.branchaud-charron@usherbrooke.ca
File Name: tests/test_multiprocessing.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: 555ca942df407b8c1bf1d48383c60fa1bf09cc1d
Time: 2019-08-28
Author: francois.chollet@gmail.com
File Name: tests/keras/engine/test_training.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: be6d8293f26d6d577b61874ccf6d68f116734d5a
Time: 2018-08-28
Author: me@taehoonlee.com
File Name: tests/keras/backend/backend_test.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: be6d8293f26d6d577b61874ccf6d68f116734d5a
Time: 2018-08-28
Author: me@taehoonlee.com
File Name: tests/keras/backend/backend_test.py
Class Name: TestBackend
Method Name: test_nn_operations


Project Name: albermax/innvestigate
Commit Name: e9f312a9ba5b12853056697bec4e79d342d9e60b
Time: 2018-03-23
Author: sebastian.lapuschkin@hhi.fraunhofer.de
File Name: examples/imagenet_lrp.py
Class Name:
Method Name: