Skip to main content

ov-write-transformations

Write or review OpenVINO ov::Model graph transformations (passes: MatcherPass, ModelPass, GraphRewrite, BackwardGraphRewrite). Use when the user asks to write, add, or refactor a transformation/fusion/decomposition pass, choose between MatcherPass and ModelPass, write pattern-matching predicates, or bring an existing pass in line with OpenVINO transformation conventions.

소스 정보

저장소
openvinotoolkit/openvino
최근 소스 활동
2026년 10월 6일 11:37
감지된 SKILL.md 언어
영어
스타
10,981
포크
3,434

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
ov-write-transformations
description
Write or review OpenVINO ov::Model graph transformations (passes: MatcherPass, ModelPass, GraphRewrite, BackwardGraphRewrite). Use when the user asks to write, add, or refactor a transformation/fusion/decomposition pass, choose between MatcherPass and ModelPass, write pattern-matching predicates, or bring an existing pass in line with OpenVINO transformation conventions.
1. Read [src/common/transformations/docs/writing_transformations.md](../../../src/common/transformations/docs/writing_transformations.md) — it covers where transformations live, choosing the pass type, anatomy of a MatcherPass, pattern matching and predicates, writing the callback, modifying the graph, documenting the pass, and what NOT to do. 2. Try to find an existing transformation that can be extended to cover the new pattern. 3. Write or modify the pass following the patterns in that guide. 4. Add tests using the `ov-transformation-tests` skill, then build and run them to ensure the pass compiles and behaves as expected.
GitHub에서 보기