Commit 3b414cc2 authored by turneram's avatar turneram
Browse files

Formatting

parent 99b79a7d
...@@ -74,8 +74,7 @@ struct bert_gelu_erf_matcher ...@@ -74,8 +74,7 @@ struct bert_gelu_erf_matcher
F f; F f;
auto erf_fn() const auto erf_fn() const
{ {
return f("erf")( return f("erf")(used_once(),
used_once(),
arg(0)(used_once(), arg(0)(used_once(),
f("div")(either_arg(0, 1)(none_of(has_value(1.414f, 1e-3)).bind("x"), f("div")(either_arg(0, 1)(none_of(has_value(1.414f, 1e-3)).bind("x"),
has_value(1.414f, 1e-3))))); has_value(1.414f, 1e-3)))));
......
...@@ -32,10 +32,7 @@ inline namespace MIGRAPHX_INLINE_NS { ...@@ -32,10 +32,7 @@ inline namespace MIGRAPHX_INLINE_NS {
struct find_gelu_erf struct find_gelu_erf
{ {
auto matcher() const auto matcher() const { return match::bert_gelu_erf(); }
{
return match::bert_gelu_erf();
}
void apply(module& m, const match::matcher_result& r) const void apply(module& m, const match::matcher_result& r) const
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment