545acc4b66b5fb0ed5457ef7288d836f022c118d,tests/keras/backend/backend_test.py,TestBackend,test_eye,#TestBackend#,197
Before Change
K.set_learning_phase(2)
def test_eye(self):
z_list = [k.eval(k.eye(3)) for k in WITH_NP]
assert_list_pairwise(z_list)
def test_linear_operations(self):
After Change
K.set_learning_phase(2)
def test_eye(self):
check_single_tensor_operation("eye", 3, WITH_NP, shape_or_val=False)
def test_linear_operations(self):
check_two_tensor_operation("dot", (4, 2), (2, 4), WITH_NP)
check_two_tensor_operation("dot", (4, 2), (5, 2, 3), WITH_NP)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
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_eye
Project Name: keras-team/keras
Commit Name: b95fcf7f52aca8ad0b1afb3cfc64c8eed534fafe
Time: 2017-07-29
Author: me@taehoonlee.com
File Name: tests/keras/backend/backend_test.py
Class Name: TestBackend
Method Name: test_tile
Project Name: keras-team/keras
Commit Name: b95fcf7f52aca8ad0b1afb3cfc64c8eed534fafe
Time: 2017-07-29
Author: me@taehoonlee.com
File Name: tests/keras/backend/backend_test.py
Class Name: TestBackend
Method Name: test_repeat_elements
Project Name: keras-team/keras
Commit Name: 78e1f57c484da15466a34ed543a1cc4709617a2f
Time: 2019-03-24
Author: me@taehoonlee.com
File Name: tests/keras/backend/backend_test.py
Class Name: TestBackend
Method Name: test_linear_operations