diff --git a/python/paddle/fluid/tests/unittests/test_tensordot.py b/python/paddle/fluid/tests/unittests/test_tensordot.py index b345c0a3d6caea5c0e5e9f64003a914b54f39467..4c647a1df17af62940a7dbbb9cff8f49fb01adc3 100644 --- a/python/paddle/fluid/tests/unittests/test_tensordot.py +++ b/python/paddle/fluid/tests/unittests/test_tensordot.py @@ -19,6 +19,8 @@ import numpy as np import paddle from paddle.fluid import core +np.random.seed(2021) + def tensordot_np(x, y, axes): if isinstance(axes, paddle.fluid.framework.Variable):