Skip to content

Commit ad86b8d

Browse files
committed
Add GDN Fusion
1 parent 418f33e commit ad86b8d

File tree

4 files changed

+416
-1
lines changed

4 files changed

+416
-1
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#pragma once
2+
3+
#include "openvino/pass/graph_rewrite.hpp"
4+
#include "transformations_visibility.hpp"
5+
6+
namespace ov {
7+
namespace pass {
8+
9+
class TRANSFORMATIONS_API GatedDeltaNetFusion;
10+
11+
} // namespace pass
12+
} // namespace ov
13+
14+
/**
15+
* @ingroup ov_transformation_common_api
16+
* @brief Fuses gated delta net sub-graph into internal LinearAttention operation.
17+
*/
18+
class ov::pass::GatedDeltaNetFusion : public ov::pass::MatcherPass {
19+
public:
20+
OPENVINO_MATCHER_PASS_RTTI("GatedDeltaNetFusion");
21+
GatedDeltaNetFusion();
22+
};

0 commit comments

Comments
 (0)