ae72ea0bfe7f7041d6f7580427fa1f69158bab7e,tests/keras/backend/backend_test.py,TestBackend,test_rnn_no_states,#TestBackend#,665
Before Change
timesteps = 5
input_val = np.random.random((32, timesteps, input_dim))
W_i_val = np.random.random((input_dim, output_dim))
def rnn_step_fn(k):
W_i = k.variable(W_i_val)
After Change
assert len(h2) == 0
last_y2 = K.eval(last_y2)
y2 = K.eval(y2)
assert_allclose(last_y1, last_y2, atol=1e-05)
assert_allclose(y1, y2, atol=1e-05)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: keras-team/keras
Commit Name: ae72ea0bfe7f7041d6f7580427fa1f69158bab7e
Time: 2018-03-05
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:
Method Name: check_single_tensor_operation
Project Name: pymc-devs/pymc3
Commit Name: 7cd66b7ff35659bf6dc7ae100794925e18708781
Time: 2017-12-12
Author: aloctavodia@gmail.com
File Name: pymc3/step_methods/smc.py
Class Name: SMC
Method Name: __init__