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
1af66a1c
"vscode:/vscode.git/clone" did not exist on "8b7ad986169ce8b217c1d8f874175454209aa43f"
Commit
1af66a1c
authored
Sep 19, 2023
by
Khalique Ahmed
Browse files
remove incorrect optimization
parent
8949b9b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
src/propagate_constant.cpp
src/propagate_constant.cpp
+0
-2
No files found.
src/propagate_constant.cpp
View file @
1af66a1c
...
...
@@ -104,8 +104,6 @@ void propagate_constant::apply(module& m) const
auto
in_shape
=
const_instrs_vec
[
i
]
->
get_shape
();
assert
(
literals
[
i
].
get_shape
()
==
in_shape
);
literal
l
{
in_shape
,
literals
[
i
].
data
()};
if
(
const_instrs_vec
[
i
]
->
outputs
().
front
()
->
name
()
==
"dot"
)
l
=
{{
in_shape
.
type
(),
in_shape
.
lens
()},
literals
[
i
].
data
()};
auto
l0
=
m
.
add_literal
(
l
);
m
.
replace_instruction
(
const_instrs_vec
[
i
],
l0
);
}
...
...
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