Commit 86e5d33c authored by charlie's avatar charlie
Browse files

Fix bugs

parent 77b89a20
...@@ -76,7 +76,7 @@ struct find_const_2in_slice ...@@ -76,7 +76,7 @@ struct find_const_2in_slice
{ {
auto matcher() const auto matcher() const
{ {
return match::name("slice")(match::nargs(3), match::arg(1)(match::is_constant())); return match::name("slice")(match::nargs(2), match::arg(1)(match::is_constant()));
} }
void apply(module& m, const match::matcher_result& mr) const void apply(module& m, const match::matcher_result& mr) const
...@@ -295,6 +295,7 @@ void simplify_dyn_ops::apply(module& m) const ...@@ -295,6 +295,7 @@ void simplify_dyn_ops::apply(module& m) const
find_static_dimensions_of{}, find_static_dimensions_of{},
find_const_alloc_reshapes{}, find_const_alloc_reshapes{},
find_static_2in_broadcasts{}, find_static_2in_broadcasts{},
find_const_2in_slice{},
find_const_3in_slice{}, find_const_3in_slice{},
find_const_4in_slice{}); find_const_4in_slice{});
} }
......
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