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

v1.8
wangchaochaohu 5 years ago committed by GitHub
parent 080d37a501
commit d160e57a5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save