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
4552f48a
Commit
4552f48a
authored
Dec 18, 2019
by
Robert Kimball
Committed by
Scott Cyphers
Dec 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fallback to reference kernel for failing tests (#4047)
parent
566af28b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
12 deletions
+3
-12
lrn.cpp
src/ngraph/runtime/cpu/builder/lrn.cpp
+3
-2
unit_test.manifest
src/ngraph/runtime/cpu/unit_test.manifest
+0
-10
No files found.
src/ngraph/runtime/cpu/builder/lrn.cpp
View file @
4552f48a
...
...
@@ -40,7 +40,9 @@ namespace ngraph
auto
arg_buffer_index
=
external_function
->
get_buffer_index
(
args
[
0
].
get_name
());
auto
out_buffer_index
=
external_function
->
get_buffer_index
(
out
[
0
].
get_name
());
if
(
runtime
::
cpu
::
mkldnn_utils
::
use_mkldnn_kernel
(
node
))
AxisSet
axes
=
lrn
->
get_reduction_axes
();
if
(
runtime
::
cpu
::
mkldnn_utils
::
use_mkldnn_kernel
(
node
)
&&
axes
==
AxisSet
{
1
})
{
auto
&
mkldnn_emitter
=
external_function
->
get_mkldnn_emitter
();
auto
lrn_desc
=
mkldnn_emitter
->
get_lrn_forward_desc
(
node
);
...
...
@@ -77,7 +79,6 @@ namespace ngraph
}
else
{
AxisSet
axes
=
lrn
->
get_reduction_axes
();
double
alpha
=
lrn
->
get_alpha
();
double
beta
=
lrn
->
get_beta
();
double
bias
=
lrn
->
get_bias
();
...
...
src/ngraph/runtime/cpu/unit_test.manifest
View file @
4552f48a
...
...
@@ -11,16 +11,6 @@ max_3d_to_scalar_int32
send_recv
send_recv_ring
# axes input param not supported
lrn_across_h
lrn_across_hw
lrn_across_all_dims
lrn_across_nw
lrn_across_empty
lrn_6D_across_2_axes
lrn_2d_across_empty
lrn_2d_across_outermost_axis
# ONNX TopK with dynamic K
top_k_opset_10
...
...
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