"docs/backend/openai_embedding_api.ipynb" did not exist on "72e979bfb5ed031282deef800774cbcde3d572b3"
Commit 86e5d33c authored by charlie's avatar charlie
Browse files

Fix bugs

parent 77b89a20
......@@ -76,7 +76,7 @@ struct find_const_2in_slice
{
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
......@@ -295,6 +295,7 @@ void simplify_dyn_ops::apply(module& m) const
find_static_dimensions_of{},
find_const_alloc_reshapes{},
find_static_2in_broadcasts{},
find_const_2in_slice{},
find_const_3in_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