set random seed to in test_export_deploy_model (#28274)

revert-27871-prv-conv-grad-opt
LiuChiachi 4 years ago committed by GitHub
parent 8f87c7eac4
commit d932b5618f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -541,7 +541,7 @@ class TestModelFunction(unittest.TestCase):
def test_export_deploy_model(self):
self.set_seed()
np.random.seed(2020)
np.random.seed(201)
for dynamic in [True, False]:
paddle.disable_static() if dynamic else None
prog_translator = ProgramTranslator()

Loading…
Cancel
Save