Skip to content

Commit 47b6b6e

Browse files
msmykx-intelevkotov
authored andcommitted
Update docs/articles_en/documentation/openvino-extensibility/transformation-api/model-pass.rst
1 parent 70482d4 commit 47b6b6e

File tree

1 file changed

+10
-10
lines changed
  • docs/articles_en/documentation/openvino-extensibility/transformation-api

1 file changed

+10
-10
lines changed

docs/articles_en/documentation/openvino-extensibility/transformation-api/model-pass.rst

+10-10
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ Template for ModelPass transformation class
1717
:language: cpp
1818
:fragment: [model_pass:template_transformation_hpp]
1919

20-
.. tab-item:: C++
21-
:sync: cpp
22-
23-
.. doxygensnippet:: docs/articles_en/assets/snippets/template_model_transformation.cpp
24-
:language: cpp
25-
:fragment: [model_pass:template_transformation_cpp]
26-
2720
.. tab-set::
2821

22+
.. tab-item:: C++
23+
:sync: cpp
24+
25+
.. doxygensnippet:: docs/articles_en/assets/snippets/template_model_transformation.cpp
26+
:language: cpp
27+
:fragment: [model_pass:template_transformation_cpp]
28+
2929
.. tab-item:: Python
3030
:sync: py
3131

32-
.. doxygensnippet:: docs/articles_en/assets/snippets/ov_model_pass.py
33-
:language: py
34-
:fragment: [model_pass:ov_model_pass_py]
32+
.. doxygensnippet:: docs/articles_en/assets/snippets/ov_model_pass.py
33+
:language: py
34+
:fragment: [model_pass:ov_model_pass_py]
3535

3636
Using ``ov::pass::ModelPass``, you need to override the ``run_on_model`` method where you will write the transformation code.
3737
Return value is ``true`` if the original model has changed during transformation (new operation was added, or operations replacement was made, or node attributes were changed); otherwise, it is ``false``.

0 commit comments

Comments
 (0)