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
aaf0f9e1
Commit
aaf0f9e1
authored
Jan 24, 2019
by
Khalique
Browse files
fix merge issue with constantfill
parent
924aa8e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/onnx/onnx.cpp
src/onnx/onnx.cpp
+5
-0
No files found.
src/onnx/onnx.cpp
View file @
aaf0f9e1
...
...
@@ -599,6 +599,11 @@ struct onnx_parser
input_as_shape
=
parse_value
(
attributes
.
at
(
"input_as_shape"
)).
at
<
int
>
();
}
if
(
contains
(
attributes
,
"value"
))
{
value
=
parse_value
(
attributes
.
at
(
"value"
)).
at
<
float
>
();
}
if
(
contains
(
attributes
,
"extra_shape"
))
{
MIGRAPHX_THROW
(
"ConstantFill: cannot handle extra shape attribute"
);
...
...
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