* [MO] Remove IR frontend from available frontend list in MO
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix issue - forget to pass FEM
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix issue for TF with new FE and default legacy
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* [MO] Clean-up MO cmd-line options
Remove the following Model Optimizer deprecated options that are no longer used for several releases: disable_fusing, disable_gfusing, generate_deprecated_IR_V7,
legacy_ir_generation, keep_shape_ops, move_to_preprocess
Deprecate through CLI the following options for which functionality triggered from POT or automatically: disable_weights_compression, disable_nhwc_to_nchw,
disable_resnet_optimization, finegrain_fusing.
Correct and extend description of each MO option to be printed during model conversion.
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Correct documentation about input shapes
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Perform final corrections in documentation
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove legacy_ir_generation overall
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Clean-up tests from deprecated options
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Recover disable_fusing option as deprecated
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix keys for static_shape and extensions
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove extension key that does not work
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply feedback: remove disable_gfusing, correct docs
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Recover disable_fusing option for unit-tests
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply feedback for documentation
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply feedback about parameters use_legacy_frontend and use_new_frontend
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* DO minor fixes for indentation of MO logs
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Revert log.error for fallback message
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Revert disable_weights_compression parameter for tests
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* [MO] Upgrade TensorFlow version dependency due to SNYK hits
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Still use 2.5.0 TensorFlow for Python 3.6 and older
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* handle 'and' marker in requirements
* Revert "handle 'and' marker in requirements"
This reverts commit 952bb949ca.
* moved importlib-metadata from requirements.txt into setup.py
* fixed version comparison: for comparsion extracted hashes are used
* shortened 7 -> 11 to match the current version fromat from nightly
* corrected regex, added comparing by minimal hash len
* forced split argument dtype to int
* added unit-test
* fixed typo in split_test.py
* set explicitly np.int64 instead of np.int
* use split_length's dtype
* Update LSTMSequence backend_attrs
* Add missed attribute clip
* Update backend_attrs for all *sequence operations
* Add extender for GRUSequence
* Add GRUSequence to custom ops list
* use has_and_set instead if direct acces to attributes
* Add sqrt extender
* Update check to not use default infer in infer was set before
* Update comment
* Fix comment
* Remove Sqrt extender
* Remove unnecessary changes
* Add MO implementation of SQRT operation
* Added compatibility check of layout with partial shape
E.g. layout "NC" in not compatible with PartialShape{1,3,224,224}
Check is added:
- For parameter set_layout
- For parameter set_partial_shape
- For result set_layout
- Checked also compatibility for all results after 'validate_and_infer_types'
* Fix incorrect tests
* Fix of more incorrect tests
* Removed couple of obsoleted error-handling tests - these are catched now on earlier stages
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
* Check the selected frontend to correspond use_new/legacy_frontend options
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix a default case when no frontend is found
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Added op names to tensor names for MaskRCNN replacement transformation. Fixed output layout for MaskRCNN.
* Applied commentes left from PR with tensor names fix.
* Added tests for remove_tensor_names().
* Added checks in emitter.
* Removed debug output.
* Small fix.
* Small fix.
* Fixed tensor names setting in InputCut, fixed tensor names losing in AutomlEfficientDet.
* Changed op name adding to tensor names in InputCut for output port case only.
* change order of transformations to work correctly with Convolutions in Kaldi LSTM networks
* removed unneeded changes and add unit tests
* remove comment
* remove changes from memory_offset_adjustment, move all fixes inside add_reshape_transpose_around_conv_pool to avoid new bugs
* removed test for deleted changes
* replace -1 by None