forked from mindspore-Ecosystem/mindspore
!34515 Fix Floatstatus Bug
Merge pull request !34515 from jiaoy1224/real_master
This commit is contained in:
commit
efd0972b66
|
@ -981,8 +981,8 @@ class GraphSplitGpu(GraphSplitByPattern):
|
|||
return None
|
||||
|
||||
fused = []
|
||||
for a, _ in dom.in_relations.items():
|
||||
if a.pattern < PrimLib.BROADCAST and a.check_acyclic(dom):
|
||||
for a, r in dom.in_relations.items():
|
||||
if a.pattern < PrimLib.BROADCAST and r <= PrimLib.ELEMWISE and a.check_acyclic(dom):
|
||||
fused.append(a)
|
||||
|
||||
return fused, True
|
||||
|
|
Loading…
Reference in New Issue