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
02ef1a0c
Commit
02ef1a0c
authored
Nov 01, 2022
by
charlie
Browse files
Fix parse_binary check bug
parent
0d141689
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/onnx/parse_binary_op.cpp
src/onnx/parse_binary_op.cpp
+1
-1
No files found.
src/onnx/parse_binary_op.cpp
View file @
02ef1a0c
...
@@ -58,7 +58,7 @@ struct parse_binary_op : op_parser<parse_binary_op>
...
@@ -58,7 +58,7 @@ struct parse_binary_op : op_parser<parse_binary_op>
if
(
broadcasted
!=
0
)
if
(
broadcasted
!=
0
)
{
{
if
(
std
::
any_of
(
if
(
std
::
any_of
(
args
.
cbegin
(),
args
.
cend
(),
[](
auto
a
)
{
a
->
get_shape
().
dynamic
();
}))
args
.
cbegin
(),
args
.
cend
(),
[](
auto
a
)
{
return
a
->
get_shape
().
dynamic
();
}))
{
{
MIGRAPHX_THROW
(
MIGRAPHX_THROW
(
"binary op broadcast attribute not supported for dynamic input shapes"
);
"binary op broadcast attribute not supported for dynamic input shapes"
);
...
...
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