reduce_l2_decomposition.hpp
1 // Copyright (C) 2018-2021 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 #pragma once
6 
7 #include <vector>
8 #include <memory>
9 
10 #include <transformations_visibility.hpp>
11 
12 #include <ngraph/ngraph.hpp>
13 #include <ngraph/pass/graph_rewrite.hpp>
14 #include "ngraph/pattern/matcher.hpp"
15 
16 namespace ngraph {
17 namespace pass {
18 
19 class TRANSFORMATIONS_API ReduceL2Decomposition;
20 
21 } // namespace pass
22 } // namespace ngraph
23 
24 /**
25  * @ingroup ie_transformation_common_api
26  * @brief Decomposes ReduceL2 into sqrt(ReduceSum(x * x)).
27  */
28 class ngraph::pass::ReduceL2Decomposition: public ngraph::pass::MatcherPass {
29 public:
30  NGRAPH_RTTI_DECLARATION;
32 };
Decomposes ReduceL2 into sqrt(ReduceSum(x * x)).
Definition: reduce_l2_decomposition.hpp:28
ngraph namespace
Definition: add_fake_quantize_fusion.hpp:14