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
a8dd3210
Commit
a8dd3210
authored
Aug 02, 2018
by
wsttiger
Browse files
Fixed clang-tidy / cppcheck issue
parent
3a3ae8b5
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 @
a8dd3210
...
@@ -185,7 +185,7 @@ struct onnx_parser
...
@@ -185,7 +185,7 @@ struct onnx_parser
}
}
if
(
contains
(
attributes
,
"is_test"
))
if
(
contains
(
attributes
,
"is_test"
))
{
{
is_test
=
(
parse_value
(
attributes
.
at
(
"is_test"
)).
at
<
uint64_t
>
()
>
0
)
?
true
:
false
;
is_test
=
parse_value
(
attributes
.
at
(
"is_test"
)).
at
<
uint64_t
>
()
>
0
;
}
}
if
(
contains
(
attributes
,
"spatial"
))
if
(
contains
(
attributes
,
"spatial"
))
{
{
...
...
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