b95fcf7f52aca8ad0b1afb3cfc64c8eed534fafe,tests/keras/backend/backend_test.py,TestBackend,test_rnn,#TestBackend#,535
Before Change
assert len(unrolled_masked_new_states) == 1
unrolled_masked_states_list.append(k.eval(unrolled_masked_new_states[0]))
for i in range(len(last_output_list) - 1):
assert_allclose(last_output_list[i], last_output_list[i + 1], atol=1e-04)
assert_allclose(outputs_list[i], outputs_list[i + 1], atol=1e-04)
assert_allclose(state_list[i], state_list[i + 1], atol=1e-04)
assert_allclose(backwards_states_list[i], backwards_states_list[i + 1], atol=1e-04)
assert_allclose(backwards_last_output_list[i], backwards_last_output_list[i + 1], atol=1e-04)
assert_allclose(backwards_outputs_list[i], backwards_outputs_list[i + 1], atol=1e-04)
for l, u_l in zip(last_output_list, unrolled_last_output_list):
assert_allclose(l, u_l, atol=1e-04)
for o, u_o in zip(outputs_list, unrolled_outputs_list):
After Change
assert_list_pairwise(last_output_list, shape=False, atol=1e-04)
assert_list_pairwise(outputs_list, shape=False, atol=1e-04)
assert_list_pairwise(state_list, shape=False, atol=1e-04)
assert_list_pairwise(backwards_states_list, shape=False, atol=1e-04)
assert_list_pairwise(backwards_last_output_list, shape=False, atol=1e-04)
assert_list_pairwise(backwards_outputs_list, shape=False, atol=1e-04)
for l, u_l in zip(last_output_list, unrolled_last_output_list):
In pattern: SUPERPATTERN
Frequency: 7
Non-data size: 8
Instances
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_rnn
Project Name: keras-team/keras
Commit Name: 94dbc3042f5a85b399f5ce2859d4e8fbafd235b9
Time: 2017-07-06
Author: me@taehoonlee.com
File Name: tests/keras/backend/backend_test.py
Class Name:
Method Name: check_two_tensor_operation
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_switch
Project Name: keras-team/keras
Commit Name: 94dbc3042f5a85b399f5ce2859d4e8fbafd235b9
Time: 2017-07-06
Author: me@taehoonlee.com
File Name: tests/keras/backend/backend_test.py
Class Name:
Method Name: check_single_tensor_operation
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_rnn_no_states
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_function
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:
Method Name: check_composed_tensor_operations