transpose_to_reshape.hpp
1 // Copyright (C) 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 TransposeToReshape;
20 
21 } // namespace pass
22 } // namespace ngraph
23 
24 /**
25  * @ingroup ie_transformation_common_api
26  * @brief TransposeToReshape transformation replaces suitable Transposes with Reshape operation or optimizes them out
27  */
28 class ngraph::pass::TransposeToReshape : public ngraph::pass::MatcherPass {
29 public:
30  NGRAPH_RTTI_DECLARATION;
32 };
TransposeToReshape transformation replaces suitable Transposes with Reshape operation or optimizes th...
Definition: transpose_to_reshape.hpp:28
ngraph namespace
Definition: add_fake_quantize_fusion.hpp:14