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
9f26b7e9
Unverified
Commit
9f26b7e9
authored
6 years ago
by
Robert Kimball
Committed by
GitHub
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
address klocwork issue (#1747)
parent
a0be5231
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cpu_layout_descriptor.cpp
src/ngraph/runtime/cpu/cpu_layout_descriptor.cpp
+1
-1
cpu_layout_descriptor.hpp
src/ngraph/runtime/cpu/cpu_layout_descriptor.hpp
+1
-1
No files found.
src/ngraph/runtime/cpu/cpu_layout_descriptor.cpp
View file @
9f26b7e9
...
...
@@ -98,7 +98,7 @@ namespace ngraph
return
true
;
}
void
LayoutDescriptor
::
set_mkldnn_md
(
const
mkldnn
::
memory
::
desc
md
)
void
LayoutDescriptor
::
set_mkldnn_md
(
const
mkldnn
::
memory
::
desc
&
md
)
{
m_mkldnn_md
=
md
;
...
...
This diff is collapsed.
Click to expand it.
src/ngraph/runtime/cpu/cpu_layout_descriptor.hpp
View file @
9f26b7e9
...
...
@@ -46,7 +46,7 @@ namespace ngraph
bool
operator
==
(
const
TensorLayout
&
other
)
const
override
;
const
mkldnn
::
memory
::
desc
&
get_mkldnn_md
()
const
{
return
m_mkldnn_md
;
}
void
set_mkldnn_md
(
const
mkldnn
::
memory
::
desc
md
);
void
set_mkldnn_md
(
const
mkldnn
::
memory
::
desc
&
md
);
bool
is_mkldnn_layout
()
const
{
return
m_mkldnn_md
.
data
.
format
!=
mkldnn
::
memory
::
format
::
format_undef
;
...
...
This diff is collapsed.
Click to expand it.
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