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
989b42cc
Commit
989b42cc
authored
Apr 05, 2023
by
Paul
Browse files
Fix insertion
parent
84de9e88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/simplify_reshapes.cpp
src/simplify_reshapes.cpp
+1
-1
No files found.
src/simplify_reshapes.cpp
View file @
989b42cc
...
...
@@ -103,7 +103,7 @@ struct find_reshaper
auto
dims
=
ins
->
get_shape
().
lens
();
if
(
not
input
->
get_shape
().
standard
())
input
=
m
.
insert_instruction
(
in
put
,
make_op
(
"contiguous"
),
input
);
input
=
m
.
insert_instruction
(
in
s
,
make_op
(
"contiguous"
),
input
);
m
.
replace_instruction
(
ins
,
make_op
(
"reshape"
,
{{
"dims"
,
dims
}}),
input
);
}
};
...
...
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