relu_fake_quantize_fusion.hpp
1 // Copyright (C) 2018-2021 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 #pragma once
6 
7 #include <transformations_visibility.hpp>
8 
9 #include <ngraph/pass/graph_rewrite.hpp>
10 
11 namespace ngraph {
12 namespace pass {
13 
14 class TRANSFORMATIONS_API ReluFakeQuantizeFusion;
15 
16 } // namespace pass
17 } // namespace ngraph
18 
19 /**
20  * @ingroup ie_transformation_common_api
21  * @brief ReluFakeQuantizeFusion transformation replaces following graph:
22  * Relu -> FakeQuantize to FakeQuantize under following conditions:
23  * - 'input_low' input to FakeQuantize is a Constant
24  * - 'input_low' has non negative values
25  */
26 
27 class ngraph::pass::ReluFakeQuantizeFusion: public ngraph::pass::MatcherPass {
28 public:
29  NGRAPH_RTTI_DECLARATION;
31 };
ReluFakeQuantizeFusion transformation replaces following graph: Relu -> FakeQuantize to FakeQuantize ...
Definition: relu_fake_quantize_fusion.hpp:27
ngraph namespace
Definition: add_fake_quantize_fusion.hpp:14