* 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>
* Add extra op clone to have default inputs/outputs set.
* Call `validate_and_infer_types` after clone for TensorIterator and Loop
* Add gtest to check if default values works with dynamic shapes
* Apply suggestions from PR.
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
* ConvertLike: Develop reference implementation
* ConvertLike: Enable single layer tests for GPU plugin
* ConvertLike: Enable bf16 precision for evaluate method
* ConvertLike: Add unit tests
* ConvertLike: Add dynamic shape test case
* ConvertLike: Remove unnecessary ngraph namespace and using declaration for v1::ConvertLike
* ConvertLike: Simplified reference::convert by using std::enable_if
* Use actual blobs type to get nGraph element type,
when generating inputs and calculating reference results.
It will allow to run tests with `undefined` preset and
use real type, returned from the device to generate and process input.
It also fixes the case with several inputs with different type.
* Extend `convertOutputPrecision` function to fully support
conversions from/to fp16/bf16 types.
The device might return blobs in that formats, so they need to be
supported by the testing framework.
* Commit.
* Written the header file of the nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Started to write cpp-file for the nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Deleted in_ports_count attribute for the MO operation ExperimentalDetectronROIFeatureExtractor.
* Written validate_and_infer_type() method of ngraph::op::v6::ExperimentalDetectronROIFeatureExtractor.
* Code style fixes.
* Code style fixes.
* Small fixes.
* Code style fixes.
* Now operation ExperimentalDetectronROIFeatureExtractor is read as nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Implemented op::v6::ExperimentalDetectronROIFeatureExtractor::clone_with_new_inputs().
* Added macro NGRAPH_OP_SCOPE to the cpp-file of the nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Fixes in some tests.
* Code style fix.
* Fixed yet another test for ExperimentalDetectronROIFeatureExtractor.
* Added tests for reading ExperimentalDetectronROIFeatureExtractor as operation from opset6.
* Added more test for reading ExperimentalDetectronROIFeatureExtractor as operation from opset6.
* Started to write shape infer tests for the nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Corrected ngraph/test/CMakeLists.txt.
* Small changes.
* Code style fix.
* Small fixes.
* Added ctor of ExperimentalDetectronROIFeatureExtractor with NodeVector as argument.
* Added setting the attribute in_ports_count when the MO operation ExperimentalDetectronROIFeatureExtractor is creating in the MO transformation ONNXMaskRCNNTransformation.
* Added shape infer for the second output of the nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Written shape infer tests for nGraph operation ExperimentalDetectronROIFeatureExtractor (case when input shapes are partially dynamic).
* Small fixes.
* Code style fix.
* Deleted redundant &expected_channels.
* Code style fix.
* Small refactoring.
* Small fixes.
* Small changes.
* Small fixes.
* Deleted attribute distribute_rois_between_levels of ExperimentalDetectronROIFeatureExtractoe.
* Deleted attribute preserve_rois_order of ExperimentalDetectronROIFeatureExtractoe.
* Deleted attribute image_id of ExperimentalDetectronROIFeatureExtractoe.
* Now MO generates attribute 'aligned' of ExperimentalDetectronROIFeatureExtractor only with values 'true' or 'false'.
* Small fix.
* Fix in the conversion of the attribute 'aligned' of MO operation ExperimentalDetectronROIFeatureExtractor to string.
* Tabs were replaced by spaces in some XMLs.
* Tabs were replaced by spaces in ngraph_reshape_tests.cpp.
* Fixed copyrights.
* Applied small patch to IREngine from PR https://github.com/openvinotoolkit/openvino/pull/3814.
* Tabs were replaced by spaces in cnn_ngraph_impl_tests.cpp.
* op::v6::ExperimentalDetectronROIFeatureExtractor::validate_and_infer_types() was rewritten using operator & for channels.
* Added tests for input shapes of op::v6::ExperimentalDetectronROIFeatureExtractor in the case when inputs shapes consist of intervals.
* Fixes in test type_prop.detectron_roi_feature_extractor_intervals.
* fix initialization bug of spatial_scale in tests (affected input generating)
* fix input generating for bilinear ROI Pooling
* correct parameters for myriad tests:
* myriad plugin does not support batch for this layer;
* decrease threshold since myriad uses fp16 calculations
* Support DTS for GatherElements
* Extract GatherBase to a common part
* Introduce tests on inference
* Introduce tests on function comparing
* Disable failing tests
* Calling SetPrecission on cnn network outputs
* added tests
* get_output_name refactor
* add missing test file
* run tests on all backends (or disable if backend is not available)
* fixed tests
* fixed TestEngine
* Add on_adapter(Function) for serialization.
* Add port_map and back_edges serialization.
* Add 2 unit tests for TI serialization.
* Convert lambda expression into function pointer.
* Add single layer test for tensor iterator.
* Add limitation for file name length during serialization.
* Add file name length limitation for Serialize().
* Add WA for LSTMCell v0 in serialize class, new test class for TI serialization with dynamic weights, add bin path to SerializationParams, replace call to ngfunction_2_irv10 with visitor.on_attribute().
* Remove hacks for TI from ngfunction_2_irv10(), validate buffers in port_map.
* Changed year in new added test files.
* Add check for version of LSTMv0 WA, add assert for model read from file.
* Remove append_copy for xml Function, changed comparison for LSTMvo WA.
* Update second WA for LSTMCell v0 with version check.
* Remove find_child when searching for port_map and back_edges.
Before this patch constant with weights could be not detected if
it wasn't directly connected to Conv/Deconv layer.
Now weights always uses common data format (bfzyx) in the plugin which is
converted into weights format later (goiyx, oiyx, etc), so weights sub-graph
can now contain anything