Commit a8dd3210 authored by wsttiger's avatar wsttiger
Browse files

Fixed clang-tidy / cppcheck issue

parent 3a3ae8b5
...@@ -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"))
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment