extend PaddlePaddle elementwise broadcast type support (#17102)

* enable PaddlePaddle elementwise broadcast

* fix CI fail issue

* Apply suggestions from code review

* fix CI fail issue

* only B to A broadcast is supported for PDPD

* fix GPU plugin testcase fail issue

* keep PDPD broadcast_merge cpu plugin implement align with ov core

* add type prop test case for pdpd broadcast dst shape smaller than src shape
This commit is contained in:
Bo Liu authored and GitHub committed 2023-05-23 14:25:56 +04:00
1 parent 04904e5147
commit 703e5421ca
11 files changed
+149 -77

No files matched your search

@@ -5064,7 +5064,7 @@ TEST(TransformationTests, MaskPropagationBroadcastedEltwiseWrongBroadcastingMode
auto mult_const = create_constant_with_zeros({c, 1, 1}, {{0, 1, 2, 3, 4}, {}});
auto autob = ov::op::AutoBroadcastSpec(ov::op::AutoBroadcastType::PDPD, 2);
auto autob = ov::op::AutoBroadcastSpec(ov::op::AutoBroadcastType::PDPD, 0);
auto mult = std::make_shared<opset10::Multiply>(mul, mult_const, autob);
auto mul_last_const = create_constant_with_zeros(weightsShape2, {{}, {}});