Fix the unstack layer (#15047)

test=develop
revert-15207-remove_op_handle_lock_and_fix_var
Yibing Liu 6 years ago committed by GitHub
parent b9fb03cf54
commit a28df3eb0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7943,7 +7943,7 @@ def unstack(x, axis=0, num=None):
num = x.shape[axis]
outs = []
for _ in num:
for _ in range(num):
outs.append(helper.create_variable_for_type_inference(x.dtype))
helper.append_op(

Loading…
Cancel
Save