未验证 提交 d160e57a 编写于 作者: W wangchaochaohu 提交者: GitHub

fix the full error message test=develop (#24773)

上级 080d37a5
......@@ -571,7 +571,7 @@ def full(shape,
'full')
check_type(shape, 'shape', (Variable, list, tuple), 'full')
if out is not None:
check_type(shape, 'out', (Variable), 'full')
check_type(out, 'out', (Variable), 'full')
if out is None:
out = helper.create_variable_for_type_inference(dtype=dtype)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册