Changed Template plugin public property (#16496)
* Changed template plugin public property * Add property documentation * Fixed comments * Fixed typo
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
Implement Compiled Model Functionality <openvino_docs_ov_plugin_dg_compiled_model>
|
||||
Implement Synchronous Inference Request <openvino_docs_ov_plugin_dg_infer_request>
|
||||
Implement Asynchronous Inference Request <openvino_docs_ov_plugin_dg_async_infer_request>
|
||||
Provide Plugin Specific Properties <openvino_docs_ov_plugin_dg_properties>
|
||||
Implement Remote Context <openvino_docs_ov_plugin_dg_remote_context>
|
||||
Implement Remote Tensor <openvino_docs_ov_plugin_dg_remote_tensor>
|
||||
openvino_docs_ov_plugin_dg_plugin_build
|
||||
@@ -45,9 +46,11 @@ OpenVINO plugin dynamic library consists of several main components:
|
||||
- Can extract performance counters for an inference pipeline execution profiling.
|
||||
4. [Asynchronous Inference Request class](@ref openvino_docs_ov_plugin_dg_async_infer_request):
|
||||
- Wraps the [Inference Request](@ref openvino_docs_ov_plugin_dg_infer_request) class and runs pipeline stages in parallel on several task executors based on a device-specific pipeline structure.
|
||||
5. [Remote Context](@ref openvino_docs_ov_plugin_dg_remote_context):
|
||||
5. [Plugin specific properties](@ref openvino_docs_ov_plugin_dg_properties):
|
||||
- Provides the plugin specific properties.
|
||||
6. [Remote Context](@ref openvino_docs_ov_plugin_dg_remote_context):
|
||||
- Provides the device specific remote context. Context allows to create remote tensors.
|
||||
6. [Remote Tensor](@ref openvino_docs_ov_plugin_dg_remote_tensor)
|
||||
7. [Remote Tensor](@ref openvino_docs_ov_plugin_dg_remote_tensor)
|
||||
- Provides the device specific remote tensor API and implementation.
|
||||
|
||||
> **NOTE**: This documentation is written based on the `Template` plugin, which demonstrates plugin
|
||||
|
||||
@@ -42,6 +42,7 @@ As an example, a plugin configuration has three value parameters:
|
||||
- `perf_counts` - boolean value to identify whether to collect performance counters during [Inference Request](@ref openvino_docs_ov_plugin_dg_infer_request) execution.
|
||||
- `streams_executor_config` - configuration of `ov::threading::IStreamsExecutor` to handle settings of multi-threaded context.
|
||||
- `performance_mode` - configuration of `ov::hint::PerformanceMode` to set the performance mode.
|
||||
- `disable_transformations` - allows to disable transformations which are applied in the process of model compilation.
|
||||
|
||||
### Plugin Constructor
|
||||
|
||||
|
||||
10
docs/IE_PLUGIN_DG/Properties.md
Normal file
10
docs/IE_PLUGIN_DG/Properties.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# Plugin Properties {#openvino_docs_ov_plugin_dg_properties}
|
||||
|
||||
Plugin can provide own device specific properties.
|
||||
|
||||
Property Class
|
||||
------------------------
|
||||
|
||||
OpenVINO API provides the interface ov::Property which allows to define the property and access rights. Based on that, a declaration of plugin specific properties can look as follows:
|
||||
|
||||
@snippet include/template/properties.hpp properties:public_header
|
||||
@@ -79,6 +79,7 @@
|
||||
</tab>
|
||||
<tab type="user" url="@ref infer_request" visibile="yes" title="Implement Synchronous Inference Request"/>
|
||||
<tab type="user" url="@ref async_infer_request" visibile="yes" title="Implement Asynchronous Inference Request"/>
|
||||
<tab type="user" url="@ref properties" visibile="yes" title="Provide Plugin Specific Properties"/>
|
||||
<tab type="user" url="@ref remote_context" visibile="yes" title="Implement Remote Context"/>
|
||||
<tab type="user" url="@ref remote_tensor" visibile="yes" title="Implement Remote Tensor"/>
|
||||
</tab>
|
||||
|
||||
Reference in New Issue
Block a user