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
fb0ade6a
Commit
fb0ade6a
authored
Apr 08, 2023
by
Paul
Browse files
Move bind
parent
40e06e7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/simplify_reshapes.cpp
src/simplify_reshapes.cpp
+2
-3
No files found.
src/simplify_reshapes.cpp
View file @
fb0ade6a
...
...
@@ -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
...
...
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