78e1f57c484da15466a34ed543a1cc4709617a2f,tests/keras/backend/backend_test.py,TestBackend,test_linear_operations,#TestBackend#,266
Before 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,
After Change
check_single_tensor_operation("transpose", (4, 2), WITH_NP)
check_single_tensor_operation("reverse", (4, 3, 2), WITH_NP, axes=1)
check_single_tensor_operation("reverse", (4, 3, 2), WITH_NP, axes=(1, 2))
check_single_tensor_operation("reverse", (4, 3, 2), WITH_NP, axes=(0, -1))
def test_random_variables(self):
check_single_tensor_operation("random_uniform_variable", (2, 3), WITH_NP,
low=0., high=1.,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
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
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: 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: 545acc4b66b5fb0ed5457ef7288d836f022c118d
Time: 2018-09-01
Author: me@taehoonlee.com
File Name: tests/keras/backend/backend_test.py
Class Name: TestBackend
Method Name: test_eye