"web/vscode:/vscode.git/clone" did not exist on "6fff59c63751dca85cae083ccf5e6fc8e83dc047"
Commit 7dbc89d3 authored by Paul's avatar Paul
Browse files

Formatting

parent a4a654c9
......@@ -313,10 +313,8 @@ auto args(Ms... ms)
auto either_arg(std::size_t i, std::size_t j)
{
return [=](auto m1, auto m2) {
return match::any_of(
match::all_of(arg(i)(m1), arg(j)(m2)),
match::all_of(arg(j)(m1), arg(i)(m2))
);
return match::any_of(match::all_of(arg(i)(m1), arg(j)(m2)),
match::all_of(arg(j)(m1), arg(i)(m2)));
};
}
......
......@@ -168,9 +168,7 @@ struct match_conv_bias
auto matcher() const
{
return match::name("gpu::add")(match::either_arg(0, 1)(
match::broadcast_shape().bind("bias"),
match::name("gpu::convolution").bind("conv")
));
match::broadcast_shape().bind("bias"), match::name("gpu::convolution").bind("conv")));
}
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