* Updated container passes to return false to avoid excess function validation
* Added support for nested GraphRewrite registration
* Updated passes to use MatcherPass; Reorganized CommonOptimizations pipeline
* Disable node validation when graph is not modified
* Add Loop serialization, SLT and regular test.
* Remove loop test from SerializationTensorIteratorTest, add bin for test loop xml.
* Remove metadata section from loop xml file.
* Remove m_num_iterations initialization, it is done during validate_and_infer_types().
* eliminate Unsqueeze+Gather pair, when Gather gathers data by 1 dimension which was previously added by Unsqueeze which is actually doing nothing.
* calculate K only once in StaticShapeTopK. The problem happens when we have ShapeOf->Concat->ReduceMin subgraph for K evaluation. If we have a pretty small input size, the value that we received from ShapeOf may be less than one that it is concatenated with (e.g. ShapeOf 283 vs const 300), so ReduceMin returns 283. After ShapeOf elimination we don't have a chance to propagate 283 so we get 300 as a result and shape inference fail then. There are no problems with bigger input sizes just because ShapeOf always propagates value >300 and there are no such mismatch.
* fixes for TBB tmp location:
- DL_SDK_TEMP path is not normalized, that leads to paths check mismatch in CMake conditions
- TBB is not downloaded again in a case tmp location is cleaned up and build restarted (TBB_DIR and TBBROOT are cache variables)
* use reset_deps_cache & update_deps_cache for TBB_DIR var.
* single reset_deps_cache call
* Demo script improvements.
- Detect Visual Studio version installed into not-default location
- Fix change directory for a case VS and OpenVINO resideds on different disks
- Align indents
* fix indents
* remove equal op from layer creator
* remove greaterequal op from layer creator
* remove lstmcell op from layer creator
* remove psroipooling op from layer creator
* add missing newline
* alignment
* add override method for int since attribute keep_top_k from detection_output requires it
* remove if statement to prevent gtest tests duplicate names for avg_pool
* add single layer tests for seriazliation for AvgPool, PriorBoxClustered and DetectionOutput operators
* add apropiate styling of the code
* Add on_adpater() implementation for special body parts.
* Remove NodeConverter and LayerCreator for Loop. Add WA for different number of inputs during Loop init by constructor and visit_attributes().
* Format files.
* Implement use case external_port_id=-1 for output port_map,change API for map_type_in_function.
* Replace GetStrAttr() with GetInt64Attr().
* Correct WA for input_offset when using visitorAPI. It shall search all input descriptions for duplicated indexes.
* Apply proper file format.
* Throw exception when input_offset < 0.
* Add more detailed description for input_offset WA.
* rt_info serialization for ngraph::Node
* add test for it info serialization
* try to fix centos build
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
* Commit.
* Written the header file for the nGraph operation ExperimentalDetectronTopKROIs.
* Written an implementation file of the nGraph operation ExperimentalDetectronTopKROIs.
* Small fix.
* Added the nGraph operation ExperimentalDetectronTopKROIs into the table of ops of opset6.
* Written the header file for the nGraph operation ExperimentalDetectronGenerateProposalsSingleImage.
* Code style fix.
* Written cpp-file of the nGraph operation ExperimentalDetectronGenerateProposalsSingleImage.
* Now the operation ExperimentalDetectronGenerateProposalsSingleImage is read as nGraph operation.
* Code style fix.
* Fix in ngraph/ops.hpp
* Added NGRAPH_OP_SCOPE to the nGraph class ExperimentalDetectronGenerateProposalsSingleImage.
* Added NGRAPH_OP_SCOPE to the nGraph class ExperimentalDetectronTopKROIs.
* Code style fix.
* Small fix.
* Added NGraphReshapeTests of ExperimentalDetectronGenerateProposalsSingleImage when ExperimentalDetectronGenerateProposalsSingleImage is considered as opset6 operation.
* Changed copyright year to 2021.
* Deleted the method ExperimentalDetectronTopKROIs::set_max_rois.
* Deleted redundant virtual.
* Now ExperimentalDetectronTopKROIs::validate_and_infer_types() handles all cases when input 0 and input 1 have static/dynamic rank independently.
* Code style fix.
* Small fix.
* Started to write shape infer tests for the nGraph operation ExperimentalDetectronTopKROIs.
* Written shape infer tests for the nGraph operation ExperimentalDetectronTopKROIs.
* Code style fix.
* Added checks of input shapes into ExperimentalDetectronGenerateProposalsSingleImage::validate_and_infer_types(). Started to write tests for ExperimentalDetectronGenerateProposalsSingleImage::validate_and_infer_types().
* Small fix.
* Fixes in ExperimentalDetectronGenerateProposalsSingleImage::validate_and_infer_types(). Written draft tests for ExperimentalDetectronGenerateProposalsSingleImage::validate_and_infer_types().
* Code style fix.
* Fixes in reshape tests for ExperimentalDetectronGenerateProposalsSingleImage.
* Added Doxygen documentation to the nGraph operation class ExperimentalDetectronGenerateProposalsSingleImage.
* Deleted methods validate_scores_shape and validate_deltas_shape of op::v6::ExperimentalDetectronGenerateProposalsSingleImage.
* Deleted methods validate_input_rois_shape and validate_rois_probs_shape of op::v6::ExperimentalDetectronTopKROIs.
* Added class descriftion for nGraph operations ExperimentalDetectronTopKROIs and ExperimentalDetectronGenerateProposalsSingleImage.
* [MO] Implement TensorFlow 2 While support in MO
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add extractors for both While and StatelessWhile and do minor changes
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Improve update_body_graph function and manage graph names properly
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix a map for original name of parameters from body and cond
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Implement draft version of support of TF2 Keras RNN
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Implement Keras LSTM and GRU support in MO
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Improve code for Keras RNN support
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Finalize implementation of TF2 Keras RNN support in MO
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply the first part of the comments after review #1
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Avoid use of explicit values of port indices in the transformation
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Finalize code after the first-round review
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply comments after the second-round review
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>