softplus_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 #include <ngraph/pass/graph_rewrite.hpp>
12 
13 namespace ngraph {
14 namespace pass {
15 
16 class TRANSFORMATIONS_API SoftPlusDecomposition;
17 
18 } // namespace pass
19 } // namespace ngraph
20 
21 /**
22  * @ingroup ie_transformation_common_api
23  * @brief SoftPlusDecomposition transformation replaces SoftPlus op to
24  * group of operations: log(exp(x) + 1).
25  */
26 class ngraph::pass::SoftPlusDecomposition: public ngraph::pass::MatcherPass {
27 public:
28  NGRAPH_RTTI_DECLARATION;
30 };
SoftPlusDecomposition transformation replaces SoftPlus op to group of operations: log(exp(x) + 1).
Definition: softplus_decomposition.hpp:26
ngraph namespace
Definition: add_fake_quantize_fusion.hpp:14