Skip to content

Commit

Permalink
Update backend_test.py (keras-team#9125)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Solomon authored and fchollet committed Jan 19, 2018
1 parent 4c7425f commit 2fbac5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/keras/backend/backend_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def test_gradient(self):
grad = k.gradients(loss, [exp])
zero_grad = k.gradients(loss + zero_loss, [exp])
z_list.append(k.eval(grad[0]))
zero_list.append(k.eval(grad[0]))
zero_list.append(k.eval(zero_grad[0]))

assert_list_pairwise(z_list)
assert_list_pairwise(zero_list)
Expand Down

0 comments on commit 2fbac5a

Please sign in to comment.