[DOCS] References fixes for 24.0 (#23291)
Minor fixes for references and urls
This commit is contained in:
parent
79da9a1f39
commit
f4488a8ca9
|
|
@ -1,4 +1,4 @@
|
|||
.. {#openvino_../additional-resources_supported_operations_frontend}
|
||||
.. {#openvino_resources_supported_operations_frontend}
|
||||
|
||||
Supported Operations - by Framework Frontend
|
||||
============================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#openvino_../additional-resources_supported_operations}
|
||||
.. {#openvino_resources_supported_operations}
|
||||
|
||||
Supported Operations - by Inference Devices
|
||||
===========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../performance-benchmarks_faq}
|
||||
.. {#openvino_docs_performance_benchmarks_faq}
|
||||
|
||||
Performance Information F.A.Q.
|
||||
==============================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#openvino_docs_MO_DG_prepare_model_convert_model_../../../../../learn-openvino/interactive-tutorials-python}
|
||||
.. {#openvino_docs_MO_DG_prepare_model_convert_model_tutorials}
|
||||
|
||||
[LEGACY] Model Conversion Tutorials
|
||||
====================================================
|
||||
|
|
|
|||
|
|
@ -51,6 +51,6 @@ To fix some operators which prevent normal shape propagation:
|
|||
.. image:: ../../../../_static/images/batch_relaxation.png
|
||||
|
||||
* transform the model conversion on the back phase. For more information, see the :doc:`How to Convert a Model <../legacy-model-optimizer-extensibility>`,
|
||||
* transform OpenVINO Model during the runtime. For more information, see :doc:`OpenVINO Runtime Transformations <../../../openvino-extensibility/transformations-api>`,
|
||||
* transform OpenVINO Model during the runtime. For more information, see :doc:`OpenVINO Runtime Transformations <../../../openvino-extensibility/transformation-api>`,
|
||||
* modify the original model with the help of the original framework.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../legacy-model-optimizer-extensibility_Model_Optimizer_Ports_Connections}
|
||||
.. {#openvino_docs_MO_DG_prepare_model_customize_model_optimizer_Customize_Model_Optimizer_Model_Optimizer_Ports_Connections}
|
||||
|
||||
[LEGACY] Graph Traversal and Modification
|
||||
===========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../[legacy]-model-optimizer-extensions_Model_Optimizer_Transformation_Extensions}
|
||||
.. {#openvino_docs_MO_DG_prepare_model_customize_model_optimizer_Model_Optimizer_Extensions_Model_Optimizer_Transformation_Extensions}
|
||||
|
||||
[LEGACY] Graph Transformation Extensions
|
||||
==========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../[legacy]-model-optimizer-extensions_Model_Optimizer_Operation}
|
||||
.. {#openvino_docs_MO_DG_prepare_model_customize_model_optimizer_Model_Optimizer_Extensions_Model_Optimizer_Operation}
|
||||
|
||||
[LEGACY] Model Optimizer Operation
|
||||
===================================
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
.. {#../[legacy]-model-optimizer-extensions_Model_Optimizer_Extractor}
|
||||
.. {#openvino_docs_MO_DG_prepare_model_customize_model_optimizer_Model_Optimizer_Extensions_Model_Optimizer_Extractor}
|
||||
|
||||
[LEGACY] Operation Extractor
|
||||
=============================
|
||||
|
||||
.. meta::
|
||||
:description: Learn about a deprecated generic extension in Model Optimizer,
|
||||
which provides the operation extractor usable for all model
|
||||
:description: Learn about a deprecated generic extension in Model Optimizer,
|
||||
which provides the operation extractor usable for all model
|
||||
frameworks.
|
||||
|
||||
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
The code described here has been **deprecated!** Do not use it to avoid working with a legacy solution. It will be kept for some time to ensure backwards compatibility, but **you should not use** it in contemporary applications.
|
||||
|
||||
This guide describes a deprecated TensorFlow conversion method. The guide on the new and recommended method, using a new frontend, can be found in the :doc:`Frontend Extensions <../../../../openvino-extensibility/frontend-extensions>` article.
|
||||
This guide describes a deprecated TensorFlow conversion method. The guide on the new and recommended method, using a new frontend, can be found in the :doc:`Frontend Extensions <../../../../openvino-extensibility/frontend-extensions>` article.
|
||||
|
||||
Model Optimizer runs specific extractor for each operation in the model during the model loading.
|
||||
|
||||
|
|
@ -30,14 +30,14 @@ Generic extension provides a generic mechanism for the operation extractor appli
|
|||
from openvino.tools.mo.front.extractor import FrontExtractorOp
|
||||
from openvino.tools.mo.front.tf.extractors.utils import tf_dtype_extractor, tf_tensor_shape, tf_tensor_content
|
||||
from openvino.tools.mo.ops.const import Const
|
||||
|
||||
|
||||
|
||||
|
||||
class ConstExtractor(FrontExtractorOp):
|
||||
# The "op" class attribute defines a type of the operation in the framework (in this case it is a TensorFlow),
|
||||
# The "op" class attribute defines a type of the operation in the framework (in this case it is a TensorFlow),
|
||||
# for which the extractor should be triggered.
|
||||
op = 'Const'
|
||||
enabled = True # The flag that indicates that this extractor is enabled.
|
||||
|
||||
|
||||
@classmethod
|
||||
def extract(cls, node): # The entry point of the extractor.
|
||||
# The `node.pb` attribute stores the TensorFlow representation of the operation, which is a Protobuf message of the
|
||||
|
|
@ -66,16 +66,16 @@ Consider another example with an extractor of the ``Constant`` ONNX operation (r
|
|||
|
||||
from onnx import numpy_helper
|
||||
from onnx.numpy_helper import to_array
|
||||
|
||||
|
||||
from openvino.tools.mo.front.extractor import FrontExtractorOp
|
||||
from openvino.tools.mo.front.onnx.extractors.utils import onnx_attr
|
||||
from openvino.tools.mo.ops.const import Const
|
||||
|
||||
|
||||
|
||||
|
||||
class ConstantExtractor(FrontExtractorOp):
|
||||
op = 'Constant'
|
||||
enabled = True
|
||||
|
||||
|
||||
@classmethod
|
||||
def extract(cls, node):
|
||||
# Use "onnx_attr" helper method, which parses the Protobuf representation of the operation saved in the "node".
|
||||
|
|
@ -83,7 +83,7 @@ Consider another example with an extractor of the ``Constant`` ONNX operation (r
|
|||
pb_value = onnx_attr(node, 'value', 't')
|
||||
# Use "numpy_helper.to_array()" ONNX helper method to convert "TensorProto" object to a numpy array.
|
||||
value = numpy_helper.to_array(pb_value)
|
||||
|
||||
|
||||
attrs = {
|
||||
'data_type': value.dtype,
|
||||
'value': value,
|
||||
|
|
@ -101,7 +101,7 @@ A common practice is to use ``update_node_stat()`` method of the dedicated ``Op`
|
|||
2. Uses ``supported_attrs()`` and ``backend_attrs()`` methods, defined in the ``Op`` class to update specific node attribute ``IE``. The IR emitter uses the value stored in the ``IE`` attribute to pre-process attribute values and save them to IR.
|
||||
3. Optionally sets additional attributes provided to the ``update_node_stat()`` function as a second parameter. Usually these attributes are parsed from the particular instance of the operation.
|
||||
|
||||
.. note::
|
||||
.. note::
|
||||
Model Optimizer uses numpy arrays to store values and numpy arrays of ``np.int64`` type to store shapes in the graph.
|
||||
|
||||
====================
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ OpenVINO Extensibility Mechanism
|
|||
:maxdepth: 1
|
||||
:hidden:
|
||||
|
||||
openvino-extensibility/transformations-api
|
||||
openvino-extensibility/transformation-api
|
||||
OpenVINO Plugin Developer Guide <openvino-extensibility/openvino-plugin-library>
|
||||
|
||||
|
||||
|
|
@ -191,7 +191,7 @@ This CMake script finds OpenVINO, using the ``find_package`` CMake command.
|
|||
See Also
|
||||
########
|
||||
|
||||
* :doc:`OpenVINO Transformations <openvino-extensibility/transformations-api>`
|
||||
* :doc:`OpenVINO Transformations <openvino-extensibility/transformation-api>`
|
||||
* :doc:`Using OpenVINO Runtime Samples <../learn-openvino/openvino-samples>`
|
||||
* :doc:`Hello Shape Infer SSD sample <../learn-openvino/openvino-samples/hello-reshape-ssd>`
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ Overview of OpenVINO Plugin Library
|
|||
Implement Compiled Model Functionality <openvino-plugin-library/compiled-model>
|
||||
Implement Synchronous Inference Request <openvino-plugin-library/synch-inference-request>
|
||||
Implement Asynchronous Inference Request <openvino-plugin-library/asynch-inference-request>
|
||||
Provide Plugin Specific Properties <openvino-plugin-library/plugi-properties>
|
||||
Provide Plugin Specific Properties <openvino-plugin-library/plugin-properties>
|
||||
Implement Remote Context <openvino-plugin-library/remote-context>
|
||||
Implement Remote Tensor <openvino-plugin-library/remote-tensor>
|
||||
openvino-plugin-library/build-plugin-using-cmake
|
||||
|
|
@ -63,7 +63,7 @@ OpenVINO plugin dynamic library consists of several main components:
|
|||
* Wraps the :doc:`Inference Request <openvino-plugin-library/synch-inference-request>` class and runs pipeline stages in parallel on several task executors based on a device-specific pipeline structure.
|
||||
|
||||
|
||||
5. :doc:`Plugin specific properties <openvino-plugin-library/plugi-properties>`:
|
||||
5. :doc:`Plugin specific properties <openvino-plugin-library/plugin-properties>`:
|
||||
|
||||
* Provides the plugin specific properties.
|
||||
|
||||
|
|
@ -90,7 +90,7 @@ Detailed Guides
|
|||
* Plugin and its components :doc:`testing <openvino-plugin-library/plugin-testing>`
|
||||
* :doc:`Quantized networks <openvino-plugin-library/advanced-guides/quantized-models>`
|
||||
* :doc:`Low precision transformations <openvino-plugin-library/advanced-guides/low-precision-transformations>` guide
|
||||
* :doc:`Writing OpenVINO™ transformations <transformations-api>` guide
|
||||
* :doc:`Writing OpenVINO™ transformations <transformation-api>` guide
|
||||
* `Integration with AUTO Plugin <https://github.com/openvinotoolkit/openvino/blob/master/src/plugins/auto/docs/integration.md>`__
|
||||
|
||||
API References
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ Advanced Topics
|
|||
|
||||
|
||||
.. meta::
|
||||
:description: Learn more about plugin development and specific features in
|
||||
OpenVINO: precision transformations and support for quantized
|
||||
:description: Learn more about plugin development and specific features in
|
||||
OpenVINO: precision transformations and support for quantized
|
||||
models with different precisions.
|
||||
|
||||
.. toctree::
|
||||
|
|
@ -19,7 +19,7 @@ Advanced Topics
|
|||
The guides below provides extra information about specific features of OpenVINO needed for understanding during OpenVINO plugin development:
|
||||
|
||||
* :doc:`Quantized networks <advanced-guides/quantized-models>`
|
||||
* :doc:`Low precision transformations guide <advanced-guides/low-precision-transformations>`
|
||||
* :doc:`Writing OpenVINO™ transformations guide <../transformations-api>`
|
||||
* :doc:`Low precision transformations guide <advanced-guides/low-precision-transformations>`
|
||||
* :doc:`Writing OpenVINO™ transformations guide <../transformation-api>`
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../low-precision-transformations_attributes}
|
||||
.. {#openvino_docs_OV_UG_lpt_attributes}
|
||||
|
||||
Attributes
|
||||
==========
|
||||
|
|
@ -14,7 +14,7 @@ Attributes
|
|||
:hidden:
|
||||
|
||||
AvgPoolPrecisionPreserved <lpt-attributes/avg-pool-precision-preserved>
|
||||
IntervalsAlignment <lpt-attributes/intervals-alignment>
|
||||
IntervalsAlignment <lpt-attributes/intervals-alignment>
|
||||
PrecisionPreserved <lpt-attributes/precision-preserved>
|
||||
Precisions <lpt-attributes/precisions>
|
||||
QuantizationAlignment <lpt-attributes/quantization-alignment>
|
||||
|
|
@ -53,8 +53,8 @@ Introduction
|
|||
* - :doc:`QuantizationGranularity <lpt-attributes/quantization-granularity>`
|
||||
- Quantization granularity
|
||||
- Yes
|
||||
- No
|
||||
|
||||
- No
|
||||
|
||||
|
||||
``Target`` attribute group defines attribute usage during model transformation for the best performance:
|
||||
|
||||
|
|
@ -88,13 +88,13 @@ Attributes usage by transformations:
|
|||
- AlignQuantizationIntervals, AlignQuantizationParameters, FakeQuantizeDecompositionTransformation, MarkupAvgPoolPrecisionPreserved
|
||||
* - AvgPoolPrecisionPreserved
|
||||
- MarkupAvgPoolPrecisionPreserved
|
||||
-
|
||||
-
|
||||
* - Precisions
|
||||
- MarkupCanBeQuantized, MarkupPrecisions
|
||||
- FakeQuantizeDecompositionTransformation
|
||||
* - PerTensorQuantization
|
||||
- MarkupPerTensorQuantization
|
||||
-
|
||||
-
|
||||
* - IntervalsAlignment
|
||||
- AlignQuantizationIntervals
|
||||
- FakeQuantizeDecompositionTransformation
|
||||
|
|
@ -102,6 +102,6 @@ Attributes usage by transformations:
|
|||
- AlignQuantizationParameters
|
||||
- FakeQuantizeDecompositionTransformation
|
||||
|
||||
.. note::
|
||||
.. note::
|
||||
The same type of attribute instances can be created in different transformations. This approach is the result of the transformation single-responsibility principle. For example, ``Precision`` attribute instances are created in ``MarkupCanBeQuantized`` and ``MarkupPrecisions`` transformations, but the reasons for their creation are different.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_AvgPoolPrecisionPreserved}
|
||||
.. {#openvino_docs_OV_UG_lpt_AvgPoolPrecisionPreserved}
|
||||
|
||||
AvgPoolPrecisionPreserved Attribute
|
||||
===================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_IntervalsAlignment}
|
||||
.. {#openvino_docs_OV_UG_lpt_IntervalsAlignment}
|
||||
|
||||
IntervalsAlignment Attribute
|
||||
============================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_PrecisionPreserved}
|
||||
.. {#openvino_docs_OV_UG_lpt_PrecisionPreserved}
|
||||
|
||||
PrecisionPreserved Attribute
|
||||
============================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_Precisions}
|
||||
.. {#openvino_docs_OV_UG_lpt_Precisions}
|
||||
|
||||
Precisions Attribute
|
||||
====================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_QuantizationAlignment}
|
||||
.. {#openvino_docs_OV_UG_lpt_QuantizationAlignment}
|
||||
|
||||
QuantizationAlignment Attribute
|
||||
===============================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_QuantizationGranularity}
|
||||
.. {#openvino_docs_OV_UG_lpt_QuantizationGranularity}
|
||||
|
||||
QuantizationGranularity Attribute
|
||||
=================================
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
.. {#../low-precision-transformations_step1_prerequisites}
|
||||
.. {#openvino_docs_OV_UG_lpt_step1_prerequisites}
|
||||
|
||||
Step 1. Prerequisites Transformations
|
||||
=====================================
|
||||
|
||||
|
||||
.. meta::
|
||||
:description: Learn about optional Prerequisites transformations, that
|
||||
:description: Learn about optional Prerequisites transformations, that
|
||||
prepare a model before applying other low precision transformations.
|
||||
|
||||
.. toctree::
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_ConvertSubtractConstant}
|
||||
.. {#openvino_docs_OV_UG_lpt_ConvertSubtractConstant}
|
||||
|
||||
ConvertSubtractConstant transformation
|
||||
======================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_LinOpSequenceFusion}
|
||||
.. {#openvino_docs_OV_UG_lpt_LinOpSequenceFusion}
|
||||
|
||||
LinOpSequenceFusion transformation
|
||||
==================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_PullReshapeThroughDequantization}
|
||||
.. {#openvino_docs_OV_UG_lpt_PullReshapeThroughDequantization}
|
||||
|
||||
PullReshapeThroughDequantization transformation
|
||||
===============================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_PullTransposeThroughDequantization}
|
||||
.. {#openvino_docs_OV_UG_lpt_PullTransposeThroughDequantization}
|
||||
|
||||
PullTransposeThroughDequantization transformation
|
||||
=================================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../low-precision-transformations_step2_markup}
|
||||
.. {#openvino_docs_OV_UG_lpt_step2_markup}
|
||||
|
||||
Step 2. Markup Transformations
|
||||
==============================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_AlignQuantizationIntervals}
|
||||
.. {#openvino_docs_OV_UG_lpt_AlignQuantizationIntervals}
|
||||
|
||||
AlignQuantizationIntervals transformation
|
||||
=========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_AlignQuantizationParameters}
|
||||
.. {#openvino_docs_OV_UG_lpt_AlignQuantizationParameters}
|
||||
|
||||
AlignQuantizationParameters transformation
|
||||
==========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_CreateAttribute}
|
||||
.. {#openvino_docs_OV_UG_lpt_CreateAttribute}
|
||||
|
||||
CreateAttribute transformation
|
||||
==============================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_CreatePrecisionsDependentAttribute}
|
||||
.. {#openvino_docs_OV_UG_lpt_CreatePrecisionsDependentAttribute}
|
||||
|
||||
CreatePrecisionsDependentAttribute transformation
|
||||
=================================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_MarkupAvgPoolPrecisionPreserved}
|
||||
.. {#openvino_docs_OV_UG_lpt_MarkupAvgPoolPrecisionPreserved}
|
||||
|
||||
MarkupAvgPoolPrecisionPreserved transformation
|
||||
==============================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_MarkupBias}
|
||||
.. {#openvino_docs_OV_UG_lpt_MarkupBias}
|
||||
|
||||
MarkupBias transformation
|
||||
=========================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_MarkupCanBeQuantized}
|
||||
.. {#openvino_docs_OV_UG_lpt_MarkupCanBeQuantized}
|
||||
|
||||
MarkupCanBeQuantized transformation
|
||||
===================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_MarkupPerTensorQuantization}
|
||||
.. {#openvino_docs_OV_UG_lpt_MarkupPerTensorQuantization}
|
||||
|
||||
MarkupPerTensorQuantization transformation
|
||||
==========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_MarkupPrecisions}
|
||||
.. {#openvino_docs_OV_UG_lpt_MarkupPrecisions}
|
||||
|
||||
MarkupPrecisions transformation
|
||||
===============================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_PropagatePrecisions}
|
||||
.. {#openvino_docs_OV_UG_lpt_PropagatePrecisions}
|
||||
|
||||
PropagatePrecisions transformation
|
||||
==================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_PropagateSharedValue}
|
||||
.. {#openvino_docs_OV_UG_lpt_PropagateSharedValue}
|
||||
|
||||
PropagateSharedValue transformation
|
||||
===================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_PropagateThroughPrecisionPreserved}
|
||||
.. {#openvino_docs_OV_UG_lpt_PropagateThroughPrecisionPreserved}
|
||||
|
||||
PropagateThroughPrecisionPreserved transformation
|
||||
=================================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_PropagateToInput}
|
||||
.. {#openvino_docs_OV_UG_lpt_PropagateToInput}
|
||||
|
||||
PropagateToInput transformation
|
||||
===============================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_UpdateSharedPrecisionPreserved}
|
||||
.. {#openvino_docs_OV_UG_lpt_UpdateSharedPrecisionPreserved}
|
||||
|
||||
UpdateSharedPrecisionPreserved transformation
|
||||
=============================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_ClampTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_ClampTransformation}
|
||||
|
||||
ClampTransformation transformation
|
||||
==================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_PReluTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_PReluTransformation}
|
||||
|
||||
PReluTransformation transformation
|
||||
==================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_ReluTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_ReluTransformation}
|
||||
|
||||
ReluTransformation transformation
|
||||
=================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_AddTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_AddTransformation}
|
||||
|
||||
AddTransformation transformation
|
||||
================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_MultiplyPartialTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_MultiplyPartialTransformation}
|
||||
|
||||
MultiplyTransformation transformation
|
||||
=====================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_MultiplyTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_MultiplyTransformation}
|
||||
|
||||
MultiplyTransformation transformation
|
||||
=====================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_SubtractTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_SubtractTransformation}
|
||||
|
||||
SubtractTransformation transformation
|
||||
=====================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_ConvolutionBackpropDataTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_ConvolutionBackpropDataTransformation}
|
||||
|
||||
ConvolutionBackpropDataTransformation transformation
|
||||
====================================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_ConvolutionTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_ConvolutionTransformation}
|
||||
|
||||
ConvolutionTransformation transformation
|
||||
========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_GroupConvolutionTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_GroupConvolutionTransformation}
|
||||
|
||||
GroupConvolutionTransformation transformation
|
||||
=============================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_InterpolateTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_InterpolateTransformation}
|
||||
|
||||
InterpolateTransformation transformation
|
||||
========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_MatMulTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_MatMulTransformation}
|
||||
|
||||
MatMulTransformation transformation
|
||||
===================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_ConcatTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_ConcatTransformation}
|
||||
|
||||
ConcatTransformation transformation
|
||||
===================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_DepthToSpaceTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_DepthToSpaceTransformation}
|
||||
|
||||
DepthToSpaceTransformation transformation
|
||||
=========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_GatherTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_GatherTransformation}
|
||||
|
||||
GatherTransformation transformation
|
||||
===================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_PadTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_PadTransformation}
|
||||
|
||||
PadTransformation transformation
|
||||
================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_ShuffleChannelsTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_ShuffleChannelsTransformation}
|
||||
|
||||
ShuffleChannelsTransformation transformation
|
||||
============================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_SplitTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_SplitTransformation}
|
||||
|
||||
SplitTransformation transformation
|
||||
==================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_StridedSliceTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_StridedSliceTransformation}
|
||||
|
||||
StridedSliceTransformation transformation
|
||||
=========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_TransposeTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_TransposeTransformation}
|
||||
|
||||
TransposeTransformation transformation
|
||||
======================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_VariadicSplitTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_VariadicSplitTransformation}
|
||||
|
||||
VariadicSplitTransformation transformation
|
||||
==========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_MVNTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_MVNTransformation}
|
||||
|
||||
MVNTransformation transformation
|
||||
================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_NormalizeL2Transformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_NormalizeL2Transformation}
|
||||
|
||||
NormalizeL2Transformation transformation
|
||||
========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_AvgPoolTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_AvgPoolTransformation}
|
||||
|
||||
AvgPoolTransformation transformation
|
||||
====================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_MaxPoolTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_MaxPoolTransformation}
|
||||
|
||||
MaxPoolTransformation transformation
|
||||
====================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_FakeQuantizeTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_FakeQuantizeTransformation}
|
||||
|
||||
FakeQuantizeTransformation transformation
|
||||
=========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_FoldFakeQuantizeTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_FoldFakeQuantizeTransformation}
|
||||
|
||||
FoldFakeQuantizeTransformation transformation
|
||||
=============================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_ReduceMaxTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_ReduceMaxTransformation}
|
||||
|
||||
ReduceMaxTransformation transformation
|
||||
======================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_ReduceMeanTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_ReduceMeanTransformation}
|
||||
|
||||
ReduceMeanTransformation transformation
|
||||
=======================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_ReduceMinTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_ReduceMinTransformation}
|
||||
|
||||
ReduceMinTransformation transformation
|
||||
======================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_ReduceSumTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_ReduceSumTransformation}
|
||||
|
||||
ReduceSumTransformation transformation
|
||||
======================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_BatchToSpaceTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_BatchToSpaceTransformation}
|
||||
|
||||
BatchToSpaceTransformation transformation
|
||||
=========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_ReshapeTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_ReshapeTransformation}
|
||||
|
||||
ReshapeTransformation transformation
|
||||
====================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_SpaceToBatchTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_SpaceToBatchTransformation}
|
||||
|
||||
SpaceToBatchTransformation transformation
|
||||
=========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_SqueezeTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_SqueezeTransformation}
|
||||
|
||||
SqueezeTransformation transformation
|
||||
====================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../../low-precision-transformations_UnsqueezeTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_UnsqueezeTransformation}
|
||||
|
||||
UnsqueezeTransformation transformation
|
||||
======================================
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
.. {#../low-precision-transformations_step4_cleanup}
|
||||
.. {#openvino_docs_OV_UG_lpt_step4_cleanup}
|
||||
|
||||
Step 4. Cleanup Transformations
|
||||
===============================
|
||||
|
||||
|
||||
.. meta::
|
||||
:description: Check the list of transformations used to clean up the
|
||||
:description: Check the list of transformations used to clean up the
|
||||
resulting model to avoid unhandled dequantization operations.
|
||||
|
||||
.. toctree::
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_EliminateFakeQuantizeTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_EliminateFakeQuantizeTransformation}
|
||||
|
||||
EliminateFakeQuantizeTransformation transformation
|
||||
==================================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_FakeQuantizeDecompositionTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_FakeQuantizeDecompositionTransformation}
|
||||
|
||||
FakeQuantizeDecompositionTransformation transformation
|
||||
======================================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_FoldConvertTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_FoldConvertTransformation}
|
||||
|
||||
FoldConvertTransformation transformation
|
||||
========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_FuseConvertTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_FuseConvertTransformation}
|
||||
|
||||
FuseConvertTransformation transformation
|
||||
========================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_FuseMultiplyToFakeQuantizeTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_FuseMultiplyToFakeQuantizeTransformation}
|
||||
|
||||
FuseMultiplyToFakeQuantizeTransformation transformation
|
||||
=======================================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_FuseSubtractToFakeQuantizeTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_FuseSubtractToFakeQuantizeTransformation}
|
||||
|
||||
FuseSubtractToFakeQuantizeTransformation transformation
|
||||
=======================================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../../low-precision-transformations_MultiplyToGroupConvolutionTransformation}
|
||||
.. {#openvino_docs_OV_UG_lpt_MultiplyToGroupConvolutionTransformation}
|
||||
|
||||
MultiplyToGroupConvolutionTransformation transformation
|
||||
=======================================================
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ Plugin API Reference
|
|||
:maxdepth: 1
|
||||
:hidden:
|
||||
|
||||
../api/c_cpp_api/group__ov__dev__api
|
||||
../api/c_cpp_api/group__ie__transformation__api
|
||||
../../../api/c_cpp_api/group__ov__dev__api
|
||||
../../../api/c_cpp_api/group__ie__transformation__api
|
||||
|
||||
The guides below provides extra API references needed for OpenVINO plugin development:
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ Plugin Properties
|
|||
|
||||
|
||||
.. meta::
|
||||
:description: Use the ov::Property class to define access rights and
|
||||
:description: Use the ov::Property class to define access rights and
|
||||
specific properties of an OpenVINO plugin.
|
||||
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ 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:
|
||||
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:
|
||||
|
||||
.. doxygensnippet:: src/plugins/template/include/template/properties.hpp
|
||||
:language: cpp
|
||||
|
|
@ -115,7 +115,7 @@ Actual model compilation is done in the ``CompiledModel`` constructor. Refer to
|
|||
transform_model()
|
||||
+++++++++++++++++
|
||||
|
||||
The function accepts a const shared pointer to `ov::Model` object and applies common and device-specific transformations on a copied model to make it more friendly to hardware operations. For details how to write custom device-specific transformation, refer to :doc:`Writing OpenVINO™ transformations <../transformations-api>` guide. See detailed topics about model representation:
|
||||
The function accepts a const shared pointer to `ov::Model` object and applies common and device-specific transformations on a copied model to make it more friendly to hardware operations. For details how to write custom device-specific transformation, refer to :doc:`Writing OpenVINO™ transformations <../transformation-api>` guide. See detailed topics about model representation:
|
||||
|
||||
* :doc:`Intermediate Representation and Operation Sets <../../openvino-ir-format/operation-sets>`
|
||||
* :doc:`Quantized models <advanced-guides/quantized-models>`.
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ Overview of Transformations API
|
|||
:maxdepth: 1
|
||||
:hidden:
|
||||
|
||||
transformations-api/model-pass
|
||||
transformations-api/matcher-pass
|
||||
transformations-api/graph-rewrite-pass
|
||||
transformation-api/model-pass
|
||||
transformation-api/matcher-pass
|
||||
transformation-api/graph-rewrite-pass
|
||||
|
||||
OpenVINO Transformation mechanism allows to develop transformation passes to modify ``ov::Model``. You can use this mechanism to apply additional optimizations to the original Model or transform unsupported subgraphs and operations to new operations which are supported by the plugin.
|
||||
This guide contains all necessary information that you need to start implementing OpenVINO™ transformations.
|
||||
|
|
@ -97,9 +97,9 @@ Transformations types
|
|||
|
||||
OpenVINO™ Runtime has three main transformation types:
|
||||
|
||||
* :doc:`Model pass <transformations-api/model-pass>` - straightforward way to work with ``ov::Model`` directly
|
||||
* :doc:`Matcher pass <transformations-api/matcher-pass>` - pattern-based transformation approach
|
||||
* :doc:`Graph rewrite pass <transformations-api/graph-rewrite-pass>` - container for matcher passes needed for efficient execution
|
||||
* :doc:`Model pass <transformation-api/model-pass>` - straightforward way to work with ``ov::Model`` directly
|
||||
* :doc:`Matcher pass <transformation-api/matcher-pass>` - pattern-based transformation approach
|
||||
* :doc:`Graph rewrite pass <transformation-api/graph-rewrite-pass>` - container for matcher passes needed for efficient execution
|
||||
|
||||
.. image:: ./../../_static/images/transformations_structure.png
|
||||
|
||||
|
|
@ -38,6 +38,6 @@ And then creates map from registered MatcherPasses. That helps to avoid addition
|
|||
See Also
|
||||
########
|
||||
|
||||
* :doc:`OpenVINO™ Transformations <../transformations-api>`
|
||||
* :doc:`OpenVINO™ Transformations <../transformation-api>`
|
||||
|
||||
|
||||
|
|
@ -160,5 +160,5 @@ This example shows how to use predicate to construct a pattern. Also it shows ho
|
|||
See Also
|
||||
########
|
||||
|
||||
* :doc:`OpenVINO™ Transformations <../transformations-api>`
|
||||
* :doc:`OpenVINO™ Transformations <../transformation-api>`
|
||||
|
||||
|
|
@ -28,5 +28,5 @@ Also ``ov::pass::ModelPass`` based transformations can be executed via ``ov::pas
|
|||
See Also
|
||||
########
|
||||
|
||||
* :doc:`OpenVINO™ Transformations <../transformations-api>`
|
||||
* :doc:`OpenVINO™ Transformations <../transformation-api>`
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../available-opsets1}
|
||||
.. {#openvino_docs_ops_opset1}
|
||||
|
||||
opset1
|
||||
======
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../available-opsets10}
|
||||
.. {#openvino_docs_ops_opset10}
|
||||
|
||||
opset10
|
||||
=======
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../available-opsets11}
|
||||
.. {#openvino_docs_ops_opset11}
|
||||
|
||||
opset11
|
||||
=======
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../available-opsets12}
|
||||
.. {#openvino_docs_ops_opset12}
|
||||
|
||||
opset12
|
||||
=======
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../available-opsets13}
|
||||
.. {#openvino_docs_ops_opset13}
|
||||
|
||||
opset13
|
||||
=======
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../available-opsets14}
|
||||
.. {#openvino_docs_ops_opset14}
|
||||
|
||||
opset14
|
||||
=======
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../available-opsets2}
|
||||
.. {#openvino_docs_ops_opset2}
|
||||
|
||||
opset2
|
||||
======
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../available-opsets3}
|
||||
.. {#openvino_docs_ops_opset3}
|
||||
|
||||
opset3
|
||||
======
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../available-opsets4}
|
||||
.. {#openvino_docs_ops_opset4}
|
||||
|
||||
opset4
|
||||
======
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.. {#../available-opsets5}
|
||||
.. {#openvino_docs_ops_opset5}
|
||||
|
||||
opset5
|
||||
======
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue