This abstracts the boundary values for OperandType and
OperationType to avoid the need to update them in the
model validation functions.
Test: VtsHalNeuralnetworksV1_2TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all
Test: VtsHalNeuralnetworksV1_2CompatV1_1TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all
Test: VtsHalNeuralnetworksV1_2CompatV1_0TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all
Change-Id: I39155148d67215e32b4eb1991b885f65d5eeaca8
This removes the use of a separately updated list of models
that has fallen out of sync.
Bug: 119293899
Test: VtsHalNeuralnetworksV1_2TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all
Test: VtsHalNeuralnetworksV1_2CompatV1_1TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all
Test: VtsHalNeuralnetworksV1_2CompatV1_0TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all
Test: VtsHalNeuralnetworksV1_1TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.1::IDevice/sample-all
Test: VtsHalNeuralnetworksV1_1CompatV1_0TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.1::IDevice/sample-all
Test: VtsHalNeuralnetworksV1_0TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.0::IDevice/sample-all
Change-Id: I2d8804d78331b8fceab4c622c871802aa0f0a4b4
Skip L2_NORMALIZATION, LOCAL_RESPONSE_NORMALIZATION, and SOFTMAX for
addOperationInputTest.
Test: VtsHalNeuralnetworksV1_xTargetTest with 1.2 sample driver
Change-Id: I16de09e2eef7610e564f1f49ff067af7efca3784
Divide BBOX_TRANSFORM op into 2 ops
- AXIS_ALIGNED_BBOX_TRANSFORM
- ROTATED_BBOX_TRANSFORM
Rotated bounding boxes use different tensor format than axis-aligned
bounding boxes, and it would be less confusing if they were represented
by a separate operator code.
Bug: 113562630
Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_xTargetTest with sample driver
Change-Id: Ie08f2e0d0da77f6750766a394969653478d054d5
Merged-In: Ie08f2e0d0da77f6750766a394969653478d054d5
(cherry picked from commit d2bae1c268)
Divide BBOX_TRANSFORM op into 2 ops
- AXIS_ALIGNED_BBOX_TRANSFORM
- ROTATED_BBOX_TRANSFORM
Rotated bounding boxes use different tensor format than axis-aligned
bounding boxes, and it would be less confusing if they were represented
by a separate operator code.
Bug: 113562630
Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_xTargetTest with sample driver
Change-Id: Ie08f2e0d0da77f6750766a394969653478d054d5
This is a copy the v1.1 tests since we don't have any new ops
implemented in v1.2 yet.
Bug: 114365802
Test: mm
Test: NNAPI VTS
Change-Id: Ida7525fcd3ae0fd6f88ff9591e06aba922bdae64
Merged-In: Ida7525fcd3ae0fd6f88ff9591e06aba922bdae64
(cherry-picked from 871be94770)