* implemented depth_to_space transformation
* renaming
* added functional tests, fixed mistakes in implementation of the transformation
* disable ConvertSpaceToDepth/ConvertDepthToSpace transformation for CPU plugin, enable DepthToSpaceFusion for CPU plugin only, add specific creators
* fix wrong include
* fix for functional tests: set transformation callback
* revert callback calls for CPU plugin
* move functions to .cpp file
* Apply review comments
* Apply additional review comments
* fix cast to bool type
* Added explicit calling convention to CAPI callback
* Fixed typo spacing
* Renamed INFERENCE_ENGINE_CALLBACK to INFERENCE_ENGINE_C_API_CALLBAC to make the macro really specific to the C API
* [IE][VPU]: Fixes deallocation data for cases of CMX allocator run
The final loop tries to deallocate data objects that keep shape values for
other data objects that're outputs of a model. But the case when allocator
takes only CMX data into consideration was not handled and since allocation
could not happen, it lead to fail on deallocation of a data object that has
not been allocated.
Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
* [IE][VPU]: Fixes allocator with work on data to shape edges
Since there is new relationship between data objects: some
data objects may contain shape of other data object - allocator
must properly respect that. The thing is if 2 data objects are
connected in such a way, they represent unite entity (dynamic
data object) and should have the same lifetime.
Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
* * Added ie_core_read_network_from_memory to the C ie_bridge.
* Added size argument for xml_content, fixed const correctness of the weight_blob, fixed unit test
* * Removed debug message
* Changed variables names from model_xxx to weights_xxx to be more consistent with the argument name of the tested function.
* Added a description for xml_content_size in ie_core_read_network_from_memory.
* * xml_content is now passed as uint8_t
* reading function factorized in the unit-test
* Small fix in the transformation ConvertGroupedStridedSlice. Now VariadicSplit is generated only in the case when node has at least 2 output nodes.
* Added unittests for the case when there is only one StridedSlice.
* Fixed ONNX Mask-RCNN conversion
* Fixed validate_and_infet_types for NMS ops: added check for number of connected inputs
* Updated NMS ops to properly handle optional input with index 2
* Fixed typo in the implementation
* Updated ConvertStridedSliceToStridedSliceIE transformation to support dynamic shapes
* Fixed stridesluce to crop transform not to fail with dynamic shapes