[IE][VPU]: Fixes addCopyForOutputsInsideNetwork (#2393)
* [IE][VPU]: Fixes addCopyForOutputsInsideNetwork
In case of dynamic output with consumer pass tries
to connect output's shape with new intermediate data
twice: one at the moment of duplicateData call (successful)
and once more at the end of the pass manually. The second
try leads to error since child data is already connected.
Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
* [IE][VPU]: Introduces tests on addCopyForOutputsInsideNetwork
Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>