未验证 提交 9b2bcfd6 编写于 作者: W wz1qqx 提交者: GitHub

[XPU] fc fusion supports sigmoid, swish and relu6 (#54486)

上级 924ca81d
...@@ -257,6 +257,9 @@ void FcXPUFusePass::ApplyImpl(ir::Graph* graph) const { ...@@ -257,6 +257,9 @@ void FcXPUFusePass::ApplyImpl(ir::Graph* graph) const {
"relu", "relu",
"gelu", "gelu",
"tanh", "tanh",
"sigmoid",
"swish",
"relu6",
"", "",
}) { }) {
found_subgraph_count += found_subgraph_count +=
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册