未验证 提交 d54e13bb 编写于 作者: C chengduo 提交者: GitHub

add random seed for recurrent op test (#18274)

test=develop
上级 4151d90c
...@@ -23,6 +23,8 @@ from paddle.fluid.backward import append_backward ...@@ -23,6 +23,8 @@ from paddle.fluid.backward import append_backward
import numpy as np import numpy as np
import paddle.fluid.core as core import paddle.fluid.core as core
np.random.seed(123)
class PyRNNBase(object): class PyRNNBase(object):
def __init__(self, input_shape, output_shape): def __init__(self, input_shape, output_shape):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册