link-to-frontend (#19178)
This commit is contained in:
parent
53c47aaa91
commit
4703196f5c
@ -301,11 +301,19 @@ This mapping also specifies the input name "X" and output name "Out".
|
|||||||
|
|
||||||
The last step is to register this custom operation by following:
|
The last step is to register this custom operation by following:
|
||||||
|
|
||||||
|
|
||||||
.. doxygensnippet:: docs/snippets/ov_extensions.cpp
|
.. doxygensnippet:: docs/snippets/ov_extensions.cpp
|
||||||
:language: cpp
|
:language: cpp
|
||||||
:fragment: [frontend_extension_framework_map_macro_add_extension]
|
:fragment: [frontend_extension_framework_map_macro_add_extension]
|
||||||
|
|
||||||
|
.. important::
|
||||||
|
|
||||||
|
To map an operation on a specific framework, you have to link to a respective
|
||||||
|
frontend (``openvino::frontend::onnx``, ``openvino::frontend::tensorflow``, ``openvino::frontend::paddle``) in the ``CMakeLists.txt`` file:
|
||||||
|
|
||||||
|
.. code-block:: sh
|
||||||
|
|
||||||
|
target_link_libraries(${TARGET_NAME} PRIVATE openvino::frontend::onnx)
|
||||||
|
|
||||||
|
|
||||||
Mapping to Multiple Operations with ConversionExtension
|
Mapping to Multiple Operations with ConversionExtension
|
||||||
#######################################################
|
#######################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user