diff options
author | Colm Donelan <colm.donelan@arm.com> | 2023-07-31 10:26:46 +0100 |
---|---|---|
committer | Colm Donelan <colm.donelan@arm.com> | 2023-07-31 10:26:46 +0100 |
commit | 15b05304087df1e84a08b9961c2bc4071594985b (patch) | |
tree | 9f5b845e04ff3c5fd0eb154f2fde0b1f36860f78 | |
parent | 7f0ff16bf698e34f208622cf2c043c1f34be6be8 (diff) | |
download | android-nn-driver-15b05304087df1e84a08b9961c2bc4071594985b.tar.gz |
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
-rw-r--r-- | 1.2/HalPolicy.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/1.2/HalPolicy.cpp b/1.2/HalPolicy.cpp index 39616c55..9a6266e5 100644 --- a/1.2/HalPolicy.cpp +++ b/1.2/HalPolicy.cpp @@ -133,8 +133,10 @@ bool HalPolicy::ConvertOperation(const Operation& operation, const Model& model, 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: |