Skip to content

[pass] add elementwise_add + matmul/matmul_v2 fusion in fc#8699

Merged
chenjiaoAngel merged 10 commits intoPaddlePaddle:developfrom
chenjiaoAngel:fc_matmul_v2
Mar 31, 2022
Merged

[pass] add elementwise_add + matmul/matmul_v2 fusion in fc#8699
chenjiaoAngel merged 10 commits intoPaddlePaddle:developfrom
chenjiaoAngel:fc_matmul_v2

Conversation

@chenjiaoAngel
Copy link
Collaborator

when the y input of matmul/matmul is const/wight, and the dims is 2, do fc pass

Copy link
Collaborator

@zhaoyang-star zhaoyang-star left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在test_fc_fuse_pass.py中也同步加入对matmul/matmul_v2的支持吧。

zhaoyang-star
zhaoyang-star previously approved these changes Mar 23, 2022
Copy link
Collaborator

@zhaoyang-star zhaoyang-star left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@zhaoyang-star zhaoyang-star left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chenjiaoAngel chenjiaoAngel merged commit 04b9a95 into PaddlePaddle:develop Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants