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

Formatting

parent 99b79a7d
......@@ -74,11 +74,10 @@ struct bert_gelu_erf_matcher
F f;
auto erf_fn() const
{
return f("erf")(
used_once(),
arg(0)(used_once(),
f("div")(either_arg(0, 1)(none_of(has_value(1.414f, 1e-3)).bind("x"),
has_value(1.414f, 1e-3)))));
return f("erf")(used_once(),
arg(0)(used_once(),
f("div")(either_arg(0, 1)(none_of(has_value(1.414f, 1e-3)).bind("x"),
has_value(1.414f, 1e-3)))));
}
auto add_erf() const
......
......@@ -32,10 +32,7 @@ inline namespace MIGRAPHX_INLINE_NS {
struct find_gelu_erf
{
auto matcher() const
{
return match::bert_gelu_erf();
}
auto matcher() const { return match::bert_gelu_erf(); }
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