[IE][VPU]: Fixes BinaryEltwise DTS on empty input#3879
[IE][VPU]: Fixes BinaryEltwise DTS on empty input#3879Maxim-Doronin merged 2 commits intoopenvinotoolkit:masterfrom ggladilov:vpu/gg/fixes-binary-eltwise-dts-on-empty-input
Conversation
...ine/src/vpu/common/src/ngraph/transformations/dynamic_to_static_shape_binary_elementwise.cpp
Outdated
Show resolved
Hide resolved
|
@andrejsokolov @AndrewBakalinIntel ping |
ghost
left a comment
There was a problem hiding this comment.
Could you please also add a couple of tests on inference?
...ine/src/vpu/common/src/ngraph/transformations/dynamic_to_static_shape_binary_elementwise.cpp
Outdated
Show resolved
Hide resolved
I tried to add some inference tests with empty input, but reference implementation failed for some reason on those cases (discussed offline with @itikhono). @mikhail-treskin do you know anything about it? Should I raise a ticket on this? |
@mikhail-treskin ping |
...ine/src/vpu/common/src/ngraph/transformations/dynamic_to_static_shape_binary_elementwise.cpp
Outdated
Show resolved
Hide resolved
...ine/src/vpu/common/src/ngraph/transformations/dynamic_to_static_shape_binary_elementwise.cpp
Outdated
Show resolved
Hide resolved
...ine/src/vpu/common/src/ngraph/transformations/dynamic_to_static_shape_binary_elementwise.cpp
Outdated
Show resolved
Hide resolved
Do you mean static cases or dynamic? Or they both failed? |
Dynamic |
|
@andrejsokolov please take a look |
Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
Description
Makes DTS for BinaryEltwise produce empty output tensor in case if at least one input is empty. As a criteria for empty tensor ReduceMin is used (assuming all shape's values are non-negative).
Tests are changed accordingly. Trying to add new test case on inference with empty input, reference version failed, so those tests are left unchanged.
Task
#-46858