Skip to content

Commit

Permalink
Explicitly add reserve_space output tensor
Browse files Browse the repository at this point in the history
  • Loading branch information
gongshaotian committed Nov 14, 2023
1 parent 981ca69 commit fccd5ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class FusedLinearGeluPattern
{"activation", act_attr}}});
fused_gemm_epilogue_gelu(
{&res.Tensor("x"), &res.Tensor("w"), &res.Tensor("bias")},
{&res.Tensor("out")});
{&res.Tensor("out"), &res.Tensor("reserve_space")});
}
};
class FusedLinearReluPattern
Expand Down Expand Up @@ -181,7 +181,7 @@ class FusedLinearReluPattern
{"activation", act_attr}}});
fused_gemm_epilogue_relu(
{&res.Tensor("x"), &res.Tensor("w"), &res.Tensor("bias")},
{&res.Tensor("out")});
{&res.Tensor("out"), &res.Tensor("reserve_space")});
}
};

Expand Down

0 comments on commit fccd5ee

Please sign in to comment.