Commit acd4e0fa authored by Paul's avatar Paul
Browse files

Formatting

parent c22c9c0f
...@@ -185,9 +185,8 @@ struct match_add_relu ...@@ -185,9 +185,8 @@ struct match_add_relu
{ {
auto matcher() const auto matcher() const
{ {
return match::name("gpu::relu")( return match::name("gpu::relu")(match::arg(0)(
match::arg(0)( match::any_of(match::name("gpu::add"), match::name("hip::triadd")).bind("add")));
match::any_of(match::name("gpu::add"), match::name("hip::triadd")).bind("add")));
} }
void apply(program& p, match::matcher_result r) const void apply(program& p, match::matcher_result r) const
...@@ -356,10 +355,7 @@ struct match_conv_bias ...@@ -356,10 +355,7 @@ struct match_conv_bias
struct match_conv_bias_relu struct match_conv_bias_relu
{ {
context* ctx = nullptr; context* ctx = nullptr;
auto matcher() const auto matcher() const { return match::name("gpu::relu")(match::arg(0)(conv_bias())); }
{
return match::name("gpu::relu")(match::arg(0)(conv_bias()));
}
void apply(program& p, match::matcher_result r) const void apply(program& p, 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