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.

Datos de origen

Repositorio
openvinotoolkit/openvino
Última actividad en el origen
6 de octubre de 2026 a las 11:37
Idioma detectado de SKILL.md
inglés
Estrellas
11.007
Forks
3458

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
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.
Ver en GitHub