diff --git a/hehe.md b/hehe.md deleted file mode 100644 index 8de51b2efa2255d766922a1aaa9a5c924395256b..0000000000000000000000000000000000000000 --- a/hehe.md +++ /dev/null @@ -1 +0,0 @@ -fsdfgdfsdsafsdg diff --git a/python/paddle/fluid/tests/unittests/test_rmsprop_op.py b/python/paddle/fluid/tests/unittests/test_rmsprop_op.py index 335d595f3d655f1a2f089e9490022fab76858cb5..eb12bc741767340a3e7e3580a8b95065d4267693 100644 --- a/python/paddle/fluid/tests/unittests/test_rmsprop_op.py +++ b/python/paddle/fluid/tests/unittests/test_rmsprop_op.py @@ -88,7 +88,7 @@ class TestBase(unittest.TestCase): self.epsilon = epsilon self.decay = 0.9 - self.momentum = 0.0 + self.momentum = 0.1 self.centered = centered self.ms_out = self.decay * self.mean_square + (1 - self.decay @@ -170,8 +170,11 @@ class TestRmspropOp(TestBase): rmsprop_op.run(self.scope, self.place) self.check( - np.array(self.mean_square_tensor), self.ms_out, self.place, - self.mean_square_name) + np.array(self.mean_square_tensor), + self.ms_out, + self.place, + self.mean_square_name, + atol=atol) self.check( np.array(self.moment_tensor), self.moment_out,