Merge pull request #9901 from Yancey1989/fix_duplicate_lr_op

Fix duplicate lr op after distribute transpiler
wangkuiyi-patch-2
Yancey 7 years ago committed by GitHub
commit 9bc0c23b17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1115,4 +1115,6 @@ class DistributeTranspiler:
for op2 in find_ops:
if ufind.is_connected(op1, op2):
lr_ops.append(op1)
# we only need to append op for once
break
return lr_ops

Loading…
Cancel
Save