Commit fb0ade6a authored by Paul's avatar Paul
Browse files

Move bind

parent 40e06e7c
......@@ -870,9 +870,8 @@ struct find_broadcast_reshaper
auto matcher() const
{
auto broadcast =
match::broadcast_shape(match::skip(match::broadcast_shape())(match::any().bind("x")))
.bind("broadcast");
return match::name(reshaper_names())(match::args(broadcast));
match::broadcast_shape(match::skip(match::broadcast_shape())(match::any().bind("x")));
return match::name(reshaper_names())(match::args(broadcast.bind("broadcast")));
}
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