Cleanup IR v7 from the MO (#1008)
authorEvgeny Lazarev <evgeny.lazarev@intel.com>
Mon, 22 Jun 2020 08:52:00 +0000 (11:52 +0300)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2020 08:52:00 +0000 (11:52 +0300)
commit970b1301b5be32997856d2ce1082ae5f2fbdeca3
tree905bc38772393c49a46bf4c35de385aa9355cb13
parentc75920ee69b5fa0cda1a8d9f23f2b62069eb7114
Cleanup IR v7 from the MO (#1008)

* Removed back phase transformations related to IRv7

* Fixed setting value for the input port using the 'set_value' method

* Removed front and middle phase transformations related to IRv7

* Cleanup the rest of the Model Optimizer transformations from IRv7 specific transformations

* Final cleanup of the deprecated IR v7 related code

* Removed 'blobs_as_input' usage in the Model Optimizer.

* Removed function '_fuse_add' from the Model Optimizer since it is not used anymore.

* Removed 'keep_in_IR' node attribute for FakeQuantize ops in the MO

* Disabled failing gpu_engine.user_context test
126 files changed:
inference-engine/thirdparty/clDNN/tests/module_tests/gpu_toolkit_test.cpp
model-optimizer/automation/package_BOM.txt
model-optimizer/extensions/back/ActivationsNormalizer.py [deleted file]
model-optimizer/extensions/back/AvgPool.py
model-optimizer/extensions/back/CellNormalizer.py
model-optimizer/extensions/back/ConvolutionNormalizer.py
model-optimizer/extensions/back/CropToStridedSlice.py
model-optimizer/extensions/back/CutMemory.py
model-optimizer/extensions/back/DumpFakeQuantStat.py [deleted file]
model-optimizer/extensions/back/ElementwiseOpsToEltwiseOps.py [deleted file]
model-optimizer/extensions/back/FuseTransposesSequence.py
model-optimizer/extensions/back/GatherNormalizer.py
model-optimizer/extensions/back/GroupedConvWeightsNormalize.py
model-optimizer/extensions/back/I64ToI32.py [deleted file]
model-optimizer/extensions/back/InterpolateToInterpOrResample.py [deleted file]
model-optimizer/extensions/back/LRNToNorm.py
model-optimizer/extensions/back/LeakyReLUMutation.py
model-optimizer/extensions/back/LeakyReluToReluWithNegativeSlope.py [deleted file]
model-optimizer/extensions/back/MatMulNormalizer.py
model-optimizer/extensions/back/MaxPool.py
model-optimizer/extensions/back/NonMaximumSuppressionNormalize.py [deleted file]
model-optimizer/extensions/back/NormalizeToNormalizeL2.py
model-optimizer/extensions/back/OneHotNormalizer.py [deleted file]
model-optimizer/extensions/back/OptimizeTransposeReshapeSequence.py
model-optimizer/extensions/back/PackBinaryWeights.py
model-optimizer/extensions/back/PadToV7.py [deleted file]
model-optimizer/extensions/back/ParameterToPlaceholder.py [deleted file]
model-optimizer/extensions/back/ProposalMutation.py
model-optimizer/extensions/back/ReadValueAssignToMemory.py [deleted file]
model-optimizer/extensions/back/ReduceToPooling.py
model-optimizer/extensions/back/ReduceToPooling_test.py [deleted file]
model-optimizer/extensions/back/ReduceTransposeDimensions.py
model-optimizer/extensions/back/Reshape0DToSqueeze.py
model-optimizer/extensions/back/ReshapeMutation.py
model-optimizer/extensions/back/ReverseInputChannels.py
model-optimizer/extensions/back/ScalarConstNormalize.py
model-optimizer/extensions/back/ShapeOfToShape.py [deleted file]
model-optimizer/extensions/back/ShuffleChannelPatternOptimization.py
model-optimizer/extensions/back/ShufflenetReLUReorder.py
model-optimizer/extensions/back/SpecialNodesFinalization.py
model-optimizer/extensions/back/StridedSliceMasksNormalizer.py
model-optimizer/extensions/back/TileNormalizer.py [deleted file]
model-optimizer/extensions/back/TileNormalizer_test.py [deleted file]
model-optimizer/extensions/back/TopKNormalizer.py
model-optimizer/extensions/back/TransposeToPermute.py [deleted file]
model-optimizer/extensions/back/blob_normalizer.py
model-optimizer/extensions/back/compress_quantized_weights.py
model-optimizer/extensions/back/compress_quantized_weights_test.py
model-optimizer/extensions/back/fuse_sub_div_min.py
model-optimizer/extensions/back/kaldi_remove_memory_output.py
model-optimizer/extensions/back/priorbox_mutation.py
model-optimizer/extensions/back/split_normalizer.py [deleted file]
model-optimizer/extensions/front/GeLUMerger_Erf.py
model-optimizer/extensions/front/GeLUMerger_Tanh.py
model-optimizer/extensions/front/LRNReplacer.py [deleted file]
model-optimizer/extensions/front/LRNReplacer_test.py [deleted file]
model-optimizer/extensions/front/MatMul_normalizer.py
model-optimizer/extensions/front/caffe/proposal_ext_test.py
model-optimizer/extensions/front/caffe/proposal_python_ext_test.py
model-optimizer/extensions/front/disable_weights_quantize_value_propagation.py
model-optimizer/extensions/front/div.py
model-optimizer/extensions/front/global_pooling_to_reduce.py
model-optimizer/extensions/front/mxnet/deformable_psroi_pooling_ext.py
model-optimizer/extensions/front/mxnet/eltwise_scalar_replacers.py
model-optimizer/extensions/front/onnx/pad_ext_test.py
model-optimizer/extensions/front/onnx/quantize_dequantize_linear.py
model-optimizer/extensions/front/onnx/quantize_dequantize_linear_test.py
model-optimizer/extensions/front/onnx/remove_filtering_boxes_by_size.py
model-optimizer/extensions/front/onnx/resize_to_interpolate.py
model-optimizer/extensions/front/softmax.py
model-optimizer/extensions/front/squared_difference.py [deleted file]
model-optimizer/extensions/front/squared_difference_test.py [deleted file]
model-optimizer/extensions/front/sub.py
model-optimizer/extensions/front/tf/FakeQuantWithMinMaxVars.py
model-optimizer/extensions/front/tf/ObjectDetectionAPI.py
model-optimizer/extensions/front/tf/RetinaNetFilteredDetectionsReplacement.py
model-optimizer/extensions/front/tf/mvn.py
model-optimizer/extensions/front/tf/mvn_unrolled.py
model-optimizer/extensions/front/tf/prelu.py
model-optimizer/extensions/front/tf/transposed_mvn_unrolled.py
model-optimizer/extensions/middle/AddFakeQuantizeFuse.py
model-optimizer/extensions/middle/ArgMaxToTopK.py
model-optimizer/extensions/middle/DecomposeBias.py
model-optimizer/extensions/middle/Deconvolution3rdInputNormalization.py
model-optimizer/extensions/middle/DepthToSpace.py [deleted file]
model-optimizer/extensions/middle/MinimumMiddleReplacer.py [deleted file]
model-optimizer/extensions/middle/MinumumMiddleReplacer_test.py [deleted file]
model-optimizer/extensions/middle/MulAddToSS.py [deleted file]
model-optimizer/extensions/middle/MulFakeQuantizeFuse.py
model-optimizer/extensions/middle/MulQuantizeFuse_test.py
model-optimizer/extensions/middle/ReluQuantizeFuse.py
model-optimizer/extensions/middle/ReluQuantizeFuse_test.py
model-optimizer/extensions/middle/UpsampleToResample.py
model-optimizer/extensions/middle/preprocessing.py
model-optimizer/extensions/middle/quantize_fuses.py
model-optimizer/extensions/middle/quantize_fuses_test.py
model-optimizer/extensions/middle/space_to_depth.py [deleted file]
model-optimizer/extensions/ops/ReduceOps.py
model-optimizer/extensions/ops/activation_ops.py
model-optimizer/extensions/ops/elementwise.py
model-optimizer/extensions/ops/fakequantize.py
model-optimizer/extensions/ops/non_max_suppression.py
model-optimizer/extensions/ops/non_max_suppression_test.py
model-optimizer/extensions/ops/one_hot.py
model-optimizer/extensions/ops/prelu.py
model-optimizer/extensions/ops/psroipooling.py
model-optimizer/extensions/ops/tensor_iterator.py
model-optimizer/extensions/ops/topk_test.py
model-optimizer/mo/back/ie_ir_ver_2/emitter.py
model-optimizer/mo/front/common/partial_infer/slice.py
model-optimizer/mo/graph/port.py
model-optimizer/mo/main.py
model-optimizer/mo/main_test.py
model-optimizer/mo/middle/passes/conv.py
model-optimizer/mo/middle/passes/conv_test.py [deleted file]
model-optimizer/mo/middle/passes/fusing/fuse_linear_ops.py
model-optimizer/mo/middle/passes/fusing/fuse_linear_ops_test.py
model-optimizer/mo/ops/broadcast.py
model-optimizer/mo/ops/convolution.py
model-optimizer/mo/ops/deconvolution.py
model-optimizer/mo/ops/pad.py
model-optimizer/mo/ops/strided_slice_test.py
model-optimizer/mo/pipeline/common.py
model-optimizer/mo/utils/cli_parser.py
model-optimizer/mo/utils/ir_reader/extenders/fakequantize_extender.py
model-optimizer/mo/utils/unittest/graph.py