mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-07 00:13:17 +00:00
Fix a bug in fusion_embedlayer.py (#10022)
This commit is contained in:
parent
5be0fa13c0
commit
703becd796
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ class FusionEmbedLayerNoMask(Fusion):
|
|||
if path1 is None:
|
||||
return False
|
||||
|
||||
expand, shape = path1
|
||||
expand, shape = path1[0], path1[-1]
|
||||
if shape.input[0] != input_ids:
|
||||
return False
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue