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
bba2b3bd
Commit
bba2b3bd
authored
Dec 07, 2018
by
Adam Straw
Committed by
Scott Cyphers
Dec 07, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re-enable quantize_clamp_int32 test on CPU (#2090)
* re-enable quantize_clamp_int32 test on CPU * MLKDNN typo
parent
1f40160d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
cpu_assignment.cpp
src/ngraph/runtime/cpu/pass/cpu_assignment.cpp
+10
-0
unit_test.manifest
src/ngraph/runtime/cpu/unit_test.manifest
+0
-1
No files found.
src/ngraph/runtime/cpu/pass/cpu_assignment.cpp
View file @
bba2b3bd
...
...
@@ -702,6 +702,11 @@ namespace ngraph
auto
dequantize
=
static_cast
<
op
::
Dequantize
*>
(
node
);
auto
offset_const_op
=
std
::
static_pointer_cast
<
ngraph
::
op
::
Constant
>
(
dequantize
->
get_argument
(
2
));
// TODO: MKLDNN only handles float / not double
if
(
node
->
get_output_element_type
(
0
)
!=
element
::
f32
)
{
return
;
}
if
(
node
->
get_input_element_type
(
0
)
==
element
::
u8
)
{
auto
offset
=
offset_const_op
->
get_vector
<
uint8_t
>
();
...
...
@@ -734,6 +739,11 @@ namespace ngraph
{
return
;
}
// TODO: MKLDNN only handles float / not double
if
(
node
->
get_input_element_type
(
0
)
!=
element
::
f32
)
{
return
;
}
if
(
node
->
get_output_element_type
(
0
)
==
element
::
u8
)
{
auto
offset
=
offset_const_op
->
get_vector
<
uint8_t
>
();
...
...
src/ngraph/runtime/cpu/unit_test.manifest
View file @
bba2b3bd
...
...
@@ -13,7 +13,6 @@ shape_of_vector
shape_of_matrix
shape_of_5d
sum_stable_acc_double
quantize_clamp_int32
# failing in CI build but passing on local machine
max_3d_to_scalar_int32
...
...
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