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
b95c25f6
Unverified
Commit
b95c25f6
authored
Mar 13, 2020
by
Scott Cyphers
Committed by
GitHub
Mar 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Klocwork issues (#4442)
parent
d36a88ed
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
3 deletions
+4
-3
node.cpp
src/ngraph/node.cpp
+0
-1
node.hpp
src/ngraph/node.hpp
+1
-0
constant.hpp
src/ngraph/op/constant.hpp
+1
-0
algebraic_simplification.cpp
src/ngraph/pass/algebraic_simplification.cpp
+1
-1
test_case.hpp
test/util/test_case.hpp
+1
-1
No files found.
src/ngraph/node.cpp
View file @
b95c25f6
...
@@ -116,7 +116,6 @@ std::shared_ptr<Node> Node::copy_with_new_args(const NodeVector& args) const
...
@@ -116,7 +116,6 @@ std::shared_ptr<Node> Node::copy_with_new_args(const NodeVector& args) const
{
{
NODE_VALIDATION_CHECK
(
NODE_VALIDATION_CHECK
(
this
,
false
,
"Internal error: copy_with_new_args not replaced by clone_with_new_inputs"
);
this
,
false
,
"Internal error: copy_with_new_args not replaced by clone_with_new_inputs"
);
return
nullptr
;
}
}
std
::
shared_ptr
<
Node
>
Node
::
clone_with_new_inputs
(
const
OutputVector
&
inputs
)
const
std
::
shared_ptr
<
Node
>
Node
::
clone_with_new_inputs
(
const
OutputVector
&
inputs
)
const
...
...
src/ngraph/node.hpp
View file @
b95c25f6
...
@@ -558,6 +558,7 @@ namespace ngraph
...
@@ -558,6 +558,7 @@ namespace ngraph
}
}
RawNodeOutput
(
const
RawNodeOutput
&
)
=
default
;
RawNodeOutput
(
const
RawNodeOutput
&
)
=
default
;
RawNodeOutput
()
=
default
;
RawNodeOutput
()
=
default
;
RawNodeOutput
&
operator
=
(
const
RawNodeOutput
&
)
=
default
;
Node
*
node
;
Node
*
node
;
size_t
index
{
0
};
size_t
index
{
0
};
...
...
src/ngraph/op/constant.hpp
View file @
b95c25f6
...
@@ -94,6 +94,7 @@ namespace ngraph
...
@@ -94,6 +94,7 @@ namespace ngraph
Constant
(
const
element
::
Type
&
type
,
const
Shape
&
shape
,
const
void
*
data
);
Constant
(
const
element
::
Type
&
type
,
const
Shape
&
shape
,
const
void
*
data
);
Constant
(
const
Constant
&
other
);
Constant
(
const
Constant
&
other
);
Constant
&
operator
=
(
const
Constant
&
)
=
delete
;
virtual
~
Constant
()
override
;
virtual
~
Constant
()
override
;
...
...
src/ngraph/pass/algebraic_simplification.cpp
View file @
b95c25f6
...
@@ -575,7 +575,7 @@ bool pass::AlgebraicSimplification::run_on_function(shared_ptr<Function> f)
...
@@ -575,7 +575,7 @@ bool pass::AlgebraicSimplification::run_on_function(shared_ptr<Function> f)
auto
eh
=
ops_to_simplifiers
.
find
(
n
->
get_type_info
());
auto
eh
=
ops_to_simplifiers
.
find
(
n
->
get_type_info
());
if
(
eh
!=
ops_to_simplifiers
.
end
())
if
(
eh
!=
ops_to_simplifiers
.
end
())
{
{
replaced
|=
eh
->
second
(
n
)
;
replaced
=
eh
->
second
(
n
)
||
replaced
;
}
}
}
}
return
replaced
;
return
replaced
;
...
...
test/util/test_case.hpp
View file @
b95c25f6
...
@@ -84,7 +84,7 @@ namespace ngraph
...
@@ -84,7 +84,7 @@ namespace ngraph
"Input data shape must be provided, if shape defined in Functions is "
"Input data shape must be provided, if shape defined in Functions is "
"not fully known."
);
"not fully known."
);
return
add_input
<
T
>
(
input_pshape
.
to_shape
(),
values
);
add_input
<
T
>
(
input_pshape
.
to_shape
(),
values
);
}
}
template
<
typename
T
>
template
<
typename
T
>
...
...
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