* Rework of Extensibility Intro, adopted examples to missing OPENVINO_FRAMEWORK_MAP * Removed OPENVINO_FRAMEWORK_MAP reference * Frontend extension detailed documentation * Fixed distributed snippets * Fixed snippet inclusion in FE extension document and chapter headers * Fixed wrong name in a snippet reference * Fixed test for template extension due to changed number of loaded extensions * Update docs/Extensibility_UG/frontend_extensions.md Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com> * Minor fixes in extension snippets * Small grammar fix Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com> Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
21 lines
402 B
Python
21 lines
402 B
Python
# Copyright (C) 2018-2022 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
import openvino.runtime as ov
|
|
|
|
#! [add_extension]
|
|
# Not implemented
|
|
#! [add_extension]
|
|
|
|
#! [add_frontend_extension]
|
|
# Not implemented
|
|
#! [add_frontend_extension]
|
|
|
|
#! [add_extension_lib]
|
|
core = ov.Core()
|
|
# Load extensions library to ov.Core
|
|
core.add_extension("openvino_template_extension.so")
|
|
#! [add_extension_lib]
|
|
|