IVGCVSW-7825 Resolving CTS failures with Android Q and Hal 1.2.
* The POW operator causes 23 CTS failures on the combination of Android
Q and Hal 1.2. The problem does not manifest on later version of
Android or other version of the Hal.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: Ib89417b35dc51c8fcb273f63663875ef41ab3dde
diff --git a/1.2/HalPolicy.cpp b/1.2/HalPolicy.cpp
index 39616c5..9a6266e 100644
--- a/1.2/HalPolicy.cpp
+++ b/1.2/HalPolicy.cpp
@@ -133,8 +133,10 @@
return ConvertPad(operation, model, data);
case V1_2::OperationType::PAD_V2:
return ConvertPadV2(operation, model, data);
- case V1_2::OperationType::POW:
- return ConvertElementwiseBinary(operation, model, data, BinaryOperation::Power);
+// There's a problem with the combination of Hal 1.2, Android Q and the POW operator. The problem does not happen
+// with Hal 1.3.
+// case V1_2::OperationType::POW:
+// return ConvertElementwiseBinary(operation, model, data, BinaryOperation::Power);
case V1_2::OperationType::PRELU:
return ConvertPrelu(operation, model, data);
case V1_2::OperationType::QUANTIZE: