Skip to content

Commit

Permalink
fix normal ut by set manual_seed (#27028)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhupengyang authored Sep 5, 2020
1 parent f6653c7 commit 2f97ecd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/paddle/fluid/tests/unittests/test_normal.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import copy

np.random.seed(10)
paddle.manual_seed(10)


class TestNormalAPI(unittest.TestCase):
Expand Down

0 comments on commit 2f97ecd

Please sign in to comment.