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