Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
86e5d33c
Commit
86e5d33c
authored
Nov 15, 2023
by
charlie
Browse files
Fix bugs
parent
77b89a20
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/simplify_dyn_ops.cpp
src/simplify_dyn_ops.cpp
+2
-1
No files found.
src/simplify_dyn_ops.cpp
View file @
86e5d33c
...
@@ -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
{});
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment