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
432dbeeb
Commit
432dbeeb
authored
Nov 10, 2023
by
charlie
Browse files
Skip double can_eval() check
parent
e8640da6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/simplify_dyn_ops.cpp
src/simplify_dyn_ops.cpp
+1
-1
No files found.
src/simplify_dyn_ops.cpp
View file @
432dbeeb
...
...
@@ -197,7 +197,7 @@ struct find_const_alloc_reshapes
auto
reshape_ins
=
mr
.
result
;
auto
reshape_inputs
=
reshape_ins
->
inputs
();
auto
alloc_ins
=
reshape_inputs
.
at
(
1
);
argument
output_dims_arg
=
alloc_ins
->
inputs
().
at
(
0
)
->
eval
();
argument
output_dims_arg
=
alloc_ins
->
inputs
().
at
(
0
)
->
eval
(
false
);
std
::
vector
<
int64_t
>
output_dims_vec
;
output_dims_arg
.
visit
(
[
&
](
auto
output
)
{
output_dims_vec
.
assign
(
output
.
begin
(),
output
.
end
());
});
...
...
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