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
06e02c28
Commit
06e02c28
authored
Jan 24, 2020
by
Ilya Churaev
Committed by
Scott Cyphers
Jan 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do direct FakeQuantize type propagation (#4220)
Co-authored-by:
Scott Cyphers
<
diyessi@users.noreply.github.com
>
parent
9cc2ce34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
fake_quantize.cpp
src/ngraph/op/fused/fake_quantize.cpp
+2
-1
fake_quantize.hpp
src/ngraph/op/fused/fake_quantize.hpp
+1
-1
No files found.
src/ngraph/op/fused/fake_quantize.cpp
View file @
06e02c28
...
...
@@ -52,7 +52,7 @@ op::FakeQuantize::FakeQuantize(const Output<Node>& data,
constructor_validate_and_infer_types
();
}
void
op
::
FakeQuantize
::
pre_
validate_and_infer_types
()
void
op
::
FakeQuantize
::
validate_and_infer_types
()
{
PartialShape
data_pshape
=
get_input_partial_shape
(
0
);
...
...
@@ -77,6 +77,7 @@ void op::FakeQuantize::pre_validate_and_infer_types()
NODE_VALIDATION_CHECK
(
this
,
false
,
"Unsupported auto broadcast specification"
);
}
}
set_output_type
(
0
,
get_input_element_type
(
0
),
get_input_partial_shape
(
0
));
}
NodeVector
op
::
FakeQuantize
::
decompose_op
()
const
...
...
src/ngraph/op/fused/fake_quantize.hpp
View file @
06e02c28
...
...
@@ -68,7 +68,7 @@ namespace ngraph
AutoBroadcastSpec
(
AutoBroadcastType
::
NUMPY
));
virtual
NodeVector
decompose_op
()
const
override
;
virtual
void
pre_
validate_and_infer_types
()
override
;
virtual
void
validate_and_infer_types
()
override
;
virtual
std
::
shared_ptr
<
Node
>
copy_with_new_args
(
const
NodeVector
&
new_args
)
const
override
;
...
...
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