Loop operation constructor call is not sufficient to
create Loop operation, such methods as set_special_body_ports,
set_sliced_input and other may need to be called as well.
set_special_body_ports must always be called since it specifies
required attribute body_condition_output_idx. If it has not been
done before validate_and_infer_types call - exception will be thrown
that this required attribute is not set.
Recently, validate_and_infer_types call has been added to
set_sliced_input implementation. As a result, if Loop has sliced
inputs, they must be specified not earlier set_special_body_ports,
otherwise program will fail.
Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
- Created emitters for jitted load and store and apply to MVN node
- MVN template function removed
- Optimized tiles processing in MVN node implementation
* remove if statement which checks if there is no dynamic shape
* remove reshaping for genericIE operation
* back to the previous version with reshape
* remove blank space
* add plugin_api to cmake in order to use generic_ie.hpp in serialize file
* add SLT for serialization for NonMaxSupperesion operator
* revert the removal of if check for dynamism
* remove the left over from CMakeLists
* fix CmakeLists removal fail
* remove redundant parenthesis
* add test which failed in the first place and fixes to it
* fix wrong spaces
* ONNX Importer changes
* Unit tests
* Style
* Don't set tensor names for result output tensor
* Review fx I
* fix
* Style
Co-authored-by: Vladislav Volkov <vladislav.volkov@intel.com>
* Add missing header for std::tolower
Missing header causes syntax error when compiling for Windows using Visual studio 2017. Closes#4155
* Reordered STL header includes in order to pass style check
* Enable node attributes comparing in SLT
* Add values of compared values to error message
* Switch from op version to set
* Test for Constant node
* Compare clamp min max attribute tests
* try to fix CentOS build
* use HasSubstr matcher from gMock
* add more tests
* Add DummyConstan op to check if validation handle different types
* use new Function comparison API
* Add test for unsupported type
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
* Add python api for CTCGreedyDecoder
* Fix code style
* Fix unit test
* Fix code style
* Fix unit tests
* Fix python tests
* Fix python tests
* Fix python tests
* Fix according to code review
* fix
* Fix api
* fix unit tests
* Fix unit test
* Fix python api
* Commit.
* Small fix in validation of the nGraph operation ExperimentalDetectronPriorGridGenerator.
* Fixes in the validation of the nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Added more tests for shape infer function of the nGraph operation ExperimentalDetectronPriorGridGenerator.
* Code style fix.
* Added more tests for shape infer function of the nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Fixes in the test type_prop.detectron_roi_feature_extractor_intervals_1.
* Some code style fixes.
* Started to rewrite the test type_prop.detectron_roi_feature_extractor_intervals_1 as a parametrized test.
* Added some tests to parametrized test of ExperimentalDetectronROIFeatureExtractor.
* Some code style fixes.
* Small code style fix.
* The test type_prop.detectron_roi_feature_extractor_intervals_1 was rewritten as a parametrized test.
* Deleted the method run_roi_feature_test().
* All type_prop tests for ExperimentalDetectronROIFeatureExtractor are parametrized.
* Added parametrized variant of the test detectron_grid_generator_dynamic_shapes_intervals_1.
* Small fix.
* Some changes.
* Some fixes.
* Now we have two parametrized tests of ExperimentalDetectronROIFeatureExtractor shape infer, not one.
* Code style fix.
* Deleted duplicate of tests.
* Yet another test is parametrized.
* Small fix.
* Deleted some duplicates of tests.
* Add IntelSEAPI
* Fixed Windows build
* Fixed Windows
* Removed ETLRelogger
* Fixed linux compilation
* Fixed macOS build
* Small fixes
* Enabled OV codestyle
* Removed Android support
* Update license
* Fixed compilation for Windows
* Removed parse_jit function
* Fixed script for header generation
* Remove bandit hints
* Moved itt collector to thirdparty
* Try to fix hits for Windows
* Removed more hits
* [IE][nGraph]: Enables const overload for SubGraphOp::get_function
* [IE][nGraph]: Deletes SubGraphOp copy constructor
SubGraphOp has clone_with_new_inputs function for
deep coping, while default copy constructor does
some kind of shallow one. In order to avoid
confusion, copy constructor is deleted since it's
unused anyway.
* [IE][nGraph]: Enables protected Loop copy constructor
Additional clone method is introduced in order to reuse
Loop::clone_with_new_inputs implementation.
Loop::clone_with_new_inputs implementation at the same
time is refactored, since there were extra job that
does not needed to be done there.
* [IE][VPU][nGraph]: Introduces StaticShapeLoop
StaticShapeLoop is a class derived from Loop
to override validate_and_infer_types method
in order to propagate upper-bounds through the
function instead of dynamic tensors.
It uses maximum_value estimation to get
upper-bound for iterations count in case if
it is dynamic.
* [IE][VPU][nGraph]: Refactors function validators in DTS
The same approach (nGraph operation to functor map) as
for DTS shape functors is used since validation is
operation type specific.
* [IE][VPU][nGraph]: Enables DTS for Loop
Only loops with inputs dynamic in batch
(iterations count) and static body are supported.