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
9dea9576
Unverified
Commit
9dea9576
authored
Mar 14, 2018
by
Jayaram Bobba
Committed by
GitHub
Mar 14, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #642 from NervanaSystems/jbobba/mkldnn_v0.13
Jbobba/mkldnn v0.13
parents
6a1b2ee2
ece8c213
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
external_mkldnn.cmake
cmake/external_mkldnn.cmake
+1
-1
cpu_layout.cpp
src/ngraph/runtime/cpu/pass/cpu_layout.cpp
+5
-5
No files found.
cmake/external_mkldnn.cmake
View file @
9dea9576
...
...
@@ -23,7 +23,7 @@ include(ExternalProject)
if
(
NGRAPH_CPU_ENABLE
)
set
(
MKLDNN_GIT_REPO_URL https://github.com/intel/mkl-dnn
)
set
(
MKLDNN_GIT_TAG
"
3e1f8f5
"
)
set
(
MKLDNN_GIT_TAG
"
dfe8f6d
"
)
# The 'BUILD_BYPRODUCTS' argument was introduced in CMake 3.2.
if
(
${
CMAKE_VERSION
}
VERSION_LESS 3.2
)
...
...
src/ngraph/runtime/cpu/pass/cpu_layout.cpp
View file @
9dea9576
...
...
@@ -1037,19 +1037,19 @@ namespace ngraph
{
if
(
runtime
::
cpu
::
mkldnn_utils
::
use_mkldnn_kernel
(
node
.
get
()))
{
auto
delta
_layout
=
runtime
::
cpu
::
mkldnn_utils
::
get_input_mkldnn_format
(
node
.
get
(),
5
);
auto
input
_layout
=
runtime
::
cpu
::
mkldnn_utils
::
get_input_mkldnn_format
(
node
.
get
(),
2
);
vector
<
memory
::
format
>
prim_input_formats
;
vector
<
memory
::
format
>
prim_output_formats
;
prim_input_formats
.
push_back
(
memory
::
format
::
x
);
// gamma
prim_input_formats
.
push_back
(
memory
::
format
::
x
);
// beta
prim_input_formats
.
push_back
(
delta
_layout
);
// input
prim_input_formats
.
push_back
(
input
_layout
);
// input
prim_input_formats
.
push_back
(
memory
::
format
::
x
);
// mean
prim_input_formats
.
push_back
(
memory
::
format
::
x
);
// variance
prim_input_formats
.
push_back
(
delta
_layout
);
// delta
prim_output_formats
.
push_back
(
delta
_layout
);
// dinput
prim_input_formats
.
push_back
(
input
_layout
);
// delta
prim_output_formats
.
push_back
(
input
_layout
);
// dinput
prim_output_formats
.
push_back
(
memory
::
format
::
x
);
// dgamma
prim_output_formats
.
push_back
(
memory
::
format
::
x
);
// dbeta
node
=
...
...
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