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
e37093a7
Commit
e37093a7
authored
6 years ago
by
Jaikrishnan Menon
Committed by
Scott Cyphers
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix relu so it uses get_tensor_data (#1418)
parent
857cdf24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
relu.cpp
src/ngraph/runtime/cpu/builder/relu.cpp
+2
-3
No files found.
src/ngraph/runtime/cpu/builder/relu.cpp
View file @
e37093a7
...
...
@@ -35,10 +35,9 @@ namespace ngraph
if
(
runtime
::
cpu
::
mkldnn_utils
::
use_mkldnn_kernel
(
node
))
{
auto
&
functors
=
external_function
->
get_functors
();
auto
&
tensor_data
=
external_function
->
get_tensor_data
();
auto
&
arg_tensor
=
tensor_data
[
args
[
0
].
get_name
()]
;
auto
&
out_tensor
=
tensor_data
[
out
[
0
].
get_name
()]
;
auto
&
arg_tensor
=
external_function
->
get_tensor_data
(
args
[
0
].
get_name
())
;
auto
&
out_tensor
=
external_function
->
get_tensor_data
(
out
[
0
].
get_name
())
;
auto
&
mkldnn_emitter
=
external_function
->
get_mkldnn_emitter
();
auto
input_desc
=
mkldnn_utils
::
get_input_mkldnn_md
(
node
,
0
);
...
...
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