add random seed for recurrent op test (#18274)

test=develop
revert-18229-add_multi_gpu_install_check
chengduo 6 years ago committed by GitHub
parent 4151d90c16
commit d54e13bbec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,6 +23,8 @@ from paddle.fluid.backward import append_backward
import numpy as np
import paddle.fluid.core as core
np.random.seed(123)
class PyRNNBase(object):
def __init__(self, input_shape, output_shape):

Loading…
Cancel
Save