未验证 提交 d932b561 编写于 作者: L LiuChiachi 提交者: GitHub

set random seed to in test_export_deploy_model (#28274)

上级 8f87c7ea
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册