Skip to content

Commit

Permalink
update fusion_conformer_attention.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoych030 committed Jan 26, 2024
1 parent fc44f96 commit d61119c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def fuse(self, normalize_node, input_name_to_nodes, output_name_to_node):

q_nodes = self.model.match_parent_path(
matmul_qk,
["Div", "Transpose", "Reshape", "Add", "MatMul"],
["Mul", "Transpose", "Reshape", "Add", "MatMul"],
[0, 0, 0, 0, 1],
)
if q_nodes is not None:
Expand Down

0 comments on commit d61119c

Please sign in to comment.