Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
ccf19a10
Unverified
Commit
ccf19a10
authored
Mar 25, 2020
by
Scott Cyphers
Committed by
GitHub
Mar 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix klocwork issues (#4479)
parent
a8a9bcb5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
node_output.cpp
src/ngraph/node_output.cpp
+2
-2
top_k.cpp
test/type_prop/top_k.cpp
+1
-1
No files found.
src/ngraph/node_output.cpp
View file @
ccf19a10
...
...
@@ -130,7 +130,7 @@ namespace ngraph
{
if
(
remove_goe
)
{
while
(
auto
goe
=
as_type_ptr
<
op
::
GetOutputElement
>
(
m_node
))
while
(
is_type
<
op
::
GetOutputElement
>
(
m_node
))
{
*
this
=
m_node
->
input_value
(
0
);
}
...
...
@@ -214,7 +214,7 @@ namespace ngraph
{
if
(
remove_goe
)
{
while
(
auto
goe
=
as_type_ptr
<
const
op
::
GetOutputElement
>
(
m_node
))
while
(
is_type
<
const
op
::
GetOutputElement
>
(
m_node
))
{
auto
value
=
m_node
->
input_value
(
0
);
m_node
=
value
.
get_node_shared_ptr
();
...
...
test/type_prop/top_k.cpp
View file @
ccf19a10
...
...
@@ -121,7 +121,7 @@ TEST(type_prop, topk_rank_dynamic_ok)
auto
badout
=
Output
<
Node
>
(
topk
);
FAIL
()
<<
"No default output for topk"
;
}
catch
(
const
NodeValidationFailure
&
error
)
catch
(
const
NodeValidationFailure
&
)
{
}
}
...
...
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