From edfb951876ff983629c7ec87b84c49119468d2eb Mon Sep 17 00:00:00 2001 From: Maciej Smyk Date: Wed, 27 Sep 2023 09:32:11 +0200 Subject: [PATCH] [DOCS] Toctree update for Plugin articles for master (#20061) * toctree update * Update step3_main.md --- docs/IE_PLUGIN_DG/layout.xml | 106 ------------------ .../pipeline/step1_prerequisites.md | 8 ++ .../pipeline/step2_markup.md | 20 ++++ .../pipeline/step3_main.md | 40 ++++++- .../pipeline/step4_cleanup.md | 13 +++ 5 files changed, 77 insertions(+), 110 deletions(-) delete mode 100644 docs/IE_PLUGIN_DG/layout.xml diff --git a/docs/IE_PLUGIN_DG/layout.xml b/docs/IE_PLUGIN_DG/layout.xml deleted file mode 100644 index 03dda0379e0..00000000000 --- a/docs/IE_PLUGIN_DG/layout.xml +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step1_prerequisites.md b/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step1_prerequisites.md index 38258c24660..c2f2d75cbe1 100644 --- a/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step1_prerequisites.md +++ b/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step1_prerequisites.md @@ -6,6 +6,14 @@ :description: Learn about optional Prerequisites transformations, that prepare a model before applying other low precision transformations. +.. toctree:: + :maxdepth: 1 + :hidden: + + PullReshapeThroughDequantization + PullTransposeThroughDequantization + LinOpSequenceFusion + Prerequisites transformations are optional. The transformations prepare a model before running other low precision transformations. The transformations do not operate with dequantization operations or update precisions. Prerequisites transformations include: * :doc:`PullReshapeThroughDequantization ` diff --git a/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step2_markup.md b/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step2_markup.md index 426c37c8879..661324b6463 100644 --- a/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step2_markup.md +++ b/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step2_markup.md @@ -6,6 +6,26 @@ :description: Learn about markup transformations, which are used to create attributes for input and output ports and operations during runtime. +.. toctree:: + :maxdepth: 1 + :caption: Low Precision Transformations + :hidden: + + MarkupBias + MarkupCanBeQuantized + MarkupPrecisions + MarkupPerTensorQuantization + MarkupAvgPoolPrecisionPreserved + PropagatePrecisions + AlignQuantizationIntervals + AlignQuantizationParameters + + CreateAttribute + CreatePrecisionsDependentAttribute + PropagateThroughPrecisionPreserved + PropagateToInput + UpdateSharedPrecisionPreserved + This step defines the optimal ``FakeQuantize`` decomposition precisions for the best inference performance via operations markup with runtime attribute instances. Attributes are created for input and output ports and operations. Transformations do not change the operation output port precisions. A model markup low precision logic is decomposed and implemented into the following common markup transformations. The order of transformations is important: 1. :doc:`MarkupBias ` diff --git a/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step3_main.md b/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step3_main.md index 700b5d98f4c..162ba3ebfce 100644 --- a/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step3_main.md +++ b/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step3_main.md @@ -7,21 +7,52 @@ precision transformations that handle decomposition and dequantization operations. - -Main transformations are the majority of low precision transformations. Transformations operate with dequantization operations. Main transformations include: - .. toctree:: :maxdepth: 1 :hidden: + AddTransformation + AvgPoolTransformation BatchToSpaceTransformation + ClampTransformation + ConcatTransformation + ConvolutionTransformation + ConvolutionBackpropDataTransformation + DepthToSpaceTransformation + FakeQuantizeDecompositionTransformation + FakeQuantizeTransformation + InterpolateTransformation + GroupConvolutionTransformation + GatherTransformation + MatMulTransformation + MaxPoolTransformation + MultiplyTransformation + MVNTransformation + NormalizeL2Transformation + PadTransformation + PReluTransformation + ReduceMaxTransformation + ReduceMeanTransformation + ReduceMinTransformation + ReduceSumTransformation + ReluTransformation + ReshapeTransformation SpaceToBatchTransformation + SqueezeTransformation + ShuffleChannelsTransformation + SplitTransformation + StridedSliceTransformation + TransposeTransformation + UnsqueezeTransformation + VariadicSplitTransformation + +Main transformations are the majority of low precision transformations. Transformations operate with dequantization operations. Main transformations include: * :doc:`AddTransformation ` * :doc:`AvgPoolTransformation ` * :doc:`BatchToSpaceTransformation ` -* :doc:`ClampTransformation ` +* :doc:`ClampTransformation ` * :doc:`ConcatTransformation ` * :doc:`ConvolutionTransformation ` * :doc:`ConvolutionBackpropDataTransformation ` @@ -36,6 +67,7 @@ Main transformations are the majority of low precision transformations. Transfor * :doc:`MultiplyTransformation ` * :doc:`MVNTransformation ` * :doc:`NormalizeL2Transformation ` +* :doc:`PadTransformation` * :doc:`PReluTransformation ` * :doc:`ReduceMaxTransformation ` * :doc:`ReduceMeanTransformation ` diff --git a/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step4_cleanup.md b/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step4_cleanup.md index fd9a2d638df..53ecc34686d 100644 --- a/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step4_cleanup.md +++ b/docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step4_cleanup.md @@ -6,6 +6,19 @@ :description: Check the list of transformations used to clean up the resulting model to avoid unhandled dequantization operations. +.. toctree:: + :maxdepth: 1 + :hidden: + + EliminateFakeQuantizeTransformation + FoldConvertTransformation + FoldFakeQuantizeTransformation + FuseConvertTransformation + FuseMultiplyToFakeQuantizeTransformation + FuseSubtractToFakeQuantizeTransformation + MultiplyToGroupConvolutionTransformation + + * :doc:`EliminateFakeQuantizeTransformation ` * :doc:`FoldConvertTransformation ` * :doc:`FoldFakeQuantizeTransformation `