Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zhwesky2010 committed Jan 18, 2023
1 parent 6170d10 commit ddf3274
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def test_static_reduce(self):
if len(res) > 2:
self.assertEqual(res[2].shape, ())
self.assertEqual(res[3].shape, ())
np.testing.assert_allclose(res[2]), np.array(1.0)
np.testing.assert_allclose(res[2], np.array(1.0))
np.testing.assert_allclose(res[3], np.array(1.0))

paddle.disable_static()
Expand Down

0 comments on commit ddf3274

Please sign in to comment.