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
e551275d
"test/git@developer.sourcefind.cn:gaoqiong/yaml-cpp.git" did not exist on "b1a1f8ce2d846527a65f71048c454cda524bf5a1"
Commit
e551275d
authored
Jan 29, 2019
by
Shucai Xiao
Browse files
clang format.
parent
661f5b54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/onnx/onnx.cpp
src/onnx/onnx.cpp
+1
-1
No files found.
src/onnx/onnx.cpp
View file @
e551275d
...
@@ -665,7 +665,7 @@ struct onnx_parser
...
@@ -665,7 +665,7 @@ struct onnx_parser
if
(
contains
(
attributes
,
"hidden_size"
))
if
(
contains
(
attributes
,
"hidden_size"
))
{
{
std
::
size_t
hidden_size_att
=
parse_value
(
attributes
.
at
(
"hidden_size"
)).
at
<
int
>
();
std
::
size_t
hidden_size_att
=
parse_value
(
attributes
.
at
(
"hidden_size"
)).
at
<
int
>
();
if
(
hidden_size
!=
hidden_size_att
)
if
(
hidden_size
!=
hidden_size_att
)
{
{
MIGRAPHX_THROW
(
"RNN: hidden size mismatch in input and attribute"
);
MIGRAPHX_THROW
(
"RNN: hidden size mismatch in input and 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