We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84a3287 commit 2e20693Copy full SHA for 2e20693
1 file changed
packages/paddlejs-converter/fuseOps.py
@@ -60,7 +60,7 @@ def opExistSingleNode(opName):
60
if op['type'] == fuse:
61
prevOp = ops[index - 1]
62
63
- if opExistSingleNode(prevOp['outputs']['Out'][0]):
+ if opExistSingleNode(prevOp['outputs']['Out'][0]) and len(prevOp['outputs']['Out']) == 1 :
64
prevOp['attrs']['fuse_opt'] = {}
65
if 'fuse_opt' in op['attrs']:
66
prevOp['attrs']['fuse_opt'] = op['attrs']['fuse_opt']
0 commit comments