未验证 提交 8da6b72b 编写于 作者: Z zhangkaihuo 提交者: GitHub

fix test (#45364)

上级 f28c1126
......@@ -338,7 +338,7 @@ class TestSparseConvert(unittest.TestCase):
dense_x = paddle.nn.functional.dropout(dense_x, p=0.5)
verify(dense_x)
shape = np.random.randint(low=2, high=10, size=3)
shape = np.random.randint(low=3, high=10, size=3)
shape = list(shape)
dense_x = paddle.randn(shape)
#set the 0th batch to zero
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册