Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
ea2f0cf4
Commit
ea2f0cf4
authored
Jun 30, 2019
by
Paul
Browse files
Remove unused predicate
parent
7f4c7809
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
src/simplify_reshapes.cpp
src/simplify_reshapes.cpp
+0
-11
No files found.
src/simplify_reshapes.cpp
View file @
ea2f0cf4
...
@@ -122,17 +122,6 @@ struct find_reshaper
...
@@ -122,17 +122,6 @@ struct find_reshaper
}
}
};
};
MIGRAPHX_PRED_MATCHER
(
is_transpose_output
,
instruction_ref
start
)
{
return
fix
<
bool
>
([
&
](
auto
self
,
auto
ins
)
{
if
(
ins
->
outputs
().
size
()
!=
1
)
return
false
;
if
(
ins
->
outputs
().
front
()
->
name
()
==
"contiguous"
)
return
self
(
ins
->
outputs
().
front
());
return
ins
->
outputs
().
front
()
->
name
()
==
"transpose"
;
})(
start
);
}
struct
find_transpose
struct
find_transpose
{
{
auto
matcher
()
const
auto
matcher
()
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