未验证 提交 2fb1fc0d 编写于 作者: zhouweiwei2014's avatar zhouweiwei2014 提交者: GitHub

fix random OP failed (#38564)

上级 d9c174d1
...@@ -18,6 +18,7 @@ import numpy as np ...@@ -18,6 +18,7 @@ import numpy as np
from op_test import OpTest from op_test import OpTest
paddle.enable_static() paddle.enable_static()
paddle.seed(100)
class TestExponentialOp1(OpTest): class TestExponentialOp1(OpTest):
......
...@@ -19,6 +19,7 @@ from op_test import OpTest ...@@ -19,6 +19,7 @@ from op_test import OpTest
import math import math
paddle.enable_static() paddle.enable_static()
paddle.seed(100)
def output_hist(out, lam, a, b): def output_hist(out, lam, a, b):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册