* Removed test-generator from all MO requirement files except the dev one
* Moved all MO unit tests files to a separate directory
* Added __init__.py files to the tests directory. Fixed importing paths for some unit tests
* Fixed imports in all unit tests. Moved all unit test related files from the MO code to the dedicated directory
* Renamed directory with unit test utils
* Updated imports in unit tests
* Added operation Roll to MO.
* Updated BOM file.
* Replaced FrontReplacementPattern with FrontReplacementOp.
* Added set_input_permutation() to Roll infer function.
* Optimize imports.
* Code refactoring.
* Code refactoring.
* Removed unnecessary variable.
* Added name to the second reshape.
* Added rename_nodes to set original op name be at second reshape.
* Small fix.
* Add keep split output ports without consumers
* Fix ir reader for split outputs
* Update unit tests
* Refactoring code according to review
* Fix unit test
* Fix
* fix batch adding to init value of read value
* fix for batch in Kaldi models
* added broadcast to be able reshape in IE
* test fixes, added batch broadcasting to created constants
* pep fixes
* move all changes to 1 transformation
* added unit test and fix insertSelect transformation
* added comments
* remove unneeded params search
* fix element_size to send correct batch
* fix update batch in element_size
* couple fixes
* update BOM file
* fix review comments
* review fixes
* review fixes
* fix license headers
* Initial working solution
* moved bfs_search_apply_on_shapeof_subgraph_nodes from utils/graph.py to MarkShapeOfSubgraphDataType.py
* Reused bfs from MarkSubgraphsWithCorrectLayout.py
* fixed e2e precomit issues: specified correct const data_types, fixed BFS search staring point to avoid nodeless shapeof subgraphs
* fixed mxnet_rnnt: added converting all Const nodes in ShapeOf subgraph in MarkAndChangeDataTypeInShapeOfSubgraphs.py, revised Const values in transformations that affect ShapeOf subgraph nodes
* reverter ReverseV2ToReverseSequence.py and DecomposeBidirectionalRNNSequence.py
* in MarkSubgraphsWithCorrectLayout BFS search beauty applied
* apply review comments, returned back 'in_shape_subgraph' attribute
* graph condition added
* MO IR reader fix for mixed FP16 models, added replacer order placement comment
* moved to back phase
* new solution with marking nodes from bottom to top (WIP)
* successfully tested on back phase
* corrected unittest
* removed check for start nodes size in bfs
* fix transformations that insert f64 to f32 in shape subgraph
* corrected log.warning -> log.debug
* revised list if shape input operations added unittest for Const shape inputs
* applied @lazarevevgeny's comments
* licence head corrections
* [MO] Split iteration node for TensorIterator in case multiple consumers
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Implement additional BackEdgeTensorIterator and NonConstBeginStridedSlice transformations
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Finalize implementation of DIEN support by the MO tool
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add unit test for NonConstBeginStridedSliceReplacement transformation
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix retrieving shrink_axis_mask attribute value
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Address the majority of review feedback
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Do not run transformations for TF 2.X OD API models recursively (needed for models with Loop operation)
* Added anchor front transformation to group all TF OD API transformations. Added new necessary dependencies from KerasRNN transformations related to While support
* Added JSON configuration files for TF 2.4 OD API SSD and EfficientDet models
* Updated documentation with table of supported TF 2.x OD API models
* Improved visualization of the dependency graph
* Updated version of the pre-processing transformation for TF 2.4 OD API models
* Fixes in the TF 2.x OD API models conversion
* Fixed order of applying mean/scale values for TF 2.X OD API pre-processing
* Updates to the documentation
* Fixes for the preprocessor block transformation for the TF OD API models
* Added code comments
* Fixed bom file
* Unit tests for the TF 2.4 OD API ObjectDetectionAPIPreprocessor2Replacement transformation
* Code cleanup
* Updates to the documentation on how to convert TF OD API models and graph dumper
* Added assert to make sure that operations in the `get_specific_ops_with_const_inputs` has exactly 2 inputs
* Add ScatterElements value propogation
* Add condition for input nodes
* Add asserts
* Refactoring scatter according to review
* Add unit tests for 1d axis tensor
* Refactoring according to review
* refactoring unit test
* Refactoring according to review
* Update unit test
* Update unit test
* Some additional checks in the MO transformation UnsqueezeTileReshapeBlockToInterpolate.
* Refactored transformation UnsqueezeTileReshapeBlockToInterpolate: checks of applicabilty were moved into the separate function.
* Rewritten the MO transformation UnsqueezeTileReshapeBlockToInterpolate.
* Now we replace all block Unsqueeze+Tile+Reshape by Interpolate-4.
* Fixed comment.
* Added comments about applicability criteria.
* Some fixes.
* Small fix.
* Deleted redundant type casts.
* Added an example into comment.
* Now an interpolated axis length is calculated using the function node_to_get_shape_value_of_indices.
* Fixed tests.
* Optimized imports.
* Added support for Gelu-6 to the MO
* Adding Gelu-6 to ngraph and python API + some tests
* Fixed typo in the Gelu approximation mode
* Fixed Gelu-6 reference implementation for Tanh mode
* Added transformation to downgrade v6::Gelu to v2::Gelu
* Added specification for the Gelu-6
* Code style fixes
* The Gelu-6 operation specification update
* Fixed compilation issue in reference implementation for Gelu
* Fix compilation issues for some OSs
* Code style fix
* One more cpplint issue fix
* Fixed Gelu6 reference implementation compilation on Windows.
* Code style fix
* Fixed various ngraph unit tests
* Code style check
* Reverted Gelu-2 to be fused op
* Fixed Gelu6 downgrade transformation
* Added unit test for Gelu6Downgrade transformation
* Update copyright year
* Updated copyright year
* Replaced tab characters with 4 spaces in IR reader tests
* Code style fixes
* Added default value for GeluApproximation mode for Gelu-6 op
* Fixed code style for Gelu-6
* Changed order of parameters for the Gelu evaluate to potentially avoid backward compatibility issues with ARM plugin
* Fixed code style
* Introduced opset7. Moved Gelu6 to opset7
* Fixed non-updated transformation
* Fixed opset version in ngraph Python API for Gelu operation
* Fixed typo in the opset number in the documentation
* Reverted some changes related to Gelu6
* Updated MO to produce Gelu7
* Updated unit tests for Gelu
* Updated Gelu7 specification
* Changed gelu reference implementation. Added opset7 to Python packages
* Updated Python API tests for Gelu operation
* Code style fix
* Marked get_approximation_mode function as const
* Added missing "const" qualifier
* Fixed code style issues in tests
* Added extractor for MxNet operation Gelu
* Spelling issues fix
* Updated MxNet supported symbols
* Added NGRAPH_OP_SCOPE for Gelu7 validate_and_infer_types
* Fixed a typo in the comment
* Fixed bug in AssignElimination.
* Removed out edges check from assign elimination.
* Moved Assert to AssignElimination transformation.
* Renamed transformation, added comment.
* Fixed transformation to pull constants into Loop body
* Improved check that the value for Parameter node is not changed during iterations if the back edge exist
* Added unit tests for common_bfs function
* Stilistic changes
* Fixed typo
* Moved a check into the parameter_unchanged_after_iteration function
* fix calculation of memoryoffset shape in 2 cases: after normalization layer (shape can be read from InputDim in loader) and after affincecomponent layer (shape saved in out-size based on weights shape)
* improve comments
* Fixes in the MO transformation SplitConcatPairToInterpolate.
* Small fix.
* Small fix.
* Added test for the case when inputs of Concat are two Splits.
* Added docstring to the function get_concat_after_split.
* Some fixes.
* Small fix.
* Written the transformation that replaces 'linear' mode of Interpolate-4 by 'linear_onnx' mode, when the input tensor rank is equal to 4.
* Fixed BOM-file.
* Fixed copyright year.
* Added message into assert.
* Small fix.
* [MO][TF] Fixed TFSliceToSlice conversion error on Win, replaced int32_max with ShapeOf, minor correction in comments
* review apply: added create_op_with_const_inputs
* review apply: renamed variables, updated typehints for int64_array, float_array, float32_array
* renamed to correct_ends
* returned back check_op_attrs=True
* Added operation ConvertLike to the MO
* Fixed transformations with Pad which insert Const with pad value of incorrect type
* Added constant folding to ConvertLike operation
* Fixed unit tests for Pad transformations to include ConverLike operations
* Update copyright year
* nGraph code style fix
* Added OV_ITT_SCOPED_TASK for ConvertLike constant folding
* Added TF broadcast_to extractor
* updated Supported_Frameworks_Layers.md
* corrected name
* corrected op name in Supported_Frameworks_Layers.md
* added a space after BroadcastTo in Supported_Frameworks_Layers.md
* Commit.
* Fixed element type of scales input in the MO transformation UpsampleToResample.
* Fixes in the transformation TFSliceToSliceReplacer.
* Fixes in tests.
* Small fixes.
* Reverted fixes in TFSliceToSliceReplacer.
* Small fix.
* Added tests for fractional scales in the transformation UpsampleToResample.
* fix ss
* successfully converted
* successfully run moved infer and normalizer unit-tests
* successfully rewritten StridedSlice infer unittests
* int64 array
* Successfully converter crash-when-loading, xj_feauture and toy nets (cherry-picked maxpoolV4 and tf_broadcast_ext)
* successfully moved PermuteAttrs to general mechanism
* successfully converted xj_feauture and crash when loading with the new rewritten SS infer
* fixed get_shape_from_slice and moved to common utils
* fixed extending masks and some other
* some refactoring
* fixed extending masks in extractor, fixed licence year and some other code clearing
* corrected a couple of unittests
* fox permute for 5 rank slice and 4 rank inputs/
* WIP
* Added comments
* fixed StridedSlice in ProposalMutation.py
* rechecked shape_infer unittests added some new cases
* added shape_infer unit-tests after StridedSliceNormalizer pass and Permute unit-tests
* corrected unittests
* Applied review comments
* general permutations for inputs implemented, corrected ellipsis unrolling when shrink_axis is at the beginning, some other corrections
* removed code duplication in infer and normalizer, moved 'slices' attr normalizing to StridedSliceNormalizer.py
* removed some code duplication and other minor improvements
* Added tests
* minor corrections
* wider range of unittests added (froze the number)
* review comments applied
* enabled skipped unit-test
* comment corrections
* applied review comments: changed op -> type, added some asserts, corrected comments and other minor corrections
* sorted inputs, updated Supported_Frameworks_Layers.md, some minor
* Added result rename operation
* Optimize imports
* Added ResultRename to package_BOM
* ResultRename moved to the end of back phase, code refactoring
* Revert incorrect changes
* Optimize imports
* Added comments and optimized imports.