Michael Butler
f02692d840
NNAPI: Add execution preference to prepareModel (HAL)
...
A model can be prepared in different ways to optimize for different
use-cases. This CL propagates the execution preference across the HAL so
that the NN service can better fit the users needs.
Bug: 77864669
Test: mma
Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_1TargetTest
Merged-In: Ib928d510d462f36b6a87d5e81010513db7829fa8
Change-Id: Ib928d510d462f36b6a87d5e81010513db7829fa8
(cherry picked from commit 2504c2fe4f
)
2018-04-18 19:08:24 +00:00
David Gross
f8ce2138cf
Fix documentation.
...
1. Fix documentation for Operand::numberOfConsumers.
2. Fix typos.
Bug: 69055733
Bug: 76016141
Bug: 74111771
Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_0TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.0::IDevice/sample-all
Test: VtsHalNeuralnetworksV1_1TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.1::IDevice/sample-all
Merged-In: Ib3d5bbfa701070597731992c3867f72d7b0280bd
Change-Id: I9572b51fa5d3fef01554a5386bd4137215e52599
(cherry picked from commit 541e24311d
)
2018-04-12 19:16:25 +00:00
David Gross
a8cd639dc0
Add Capabilities::relaxedFloat32toFloat16Performance for 1.1.
...
Test: VtsHalNeuralnetworksV1_0TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.0::IDevice/sample-all
Test: VtsHalNeuralnetworksV1_0TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.0::IDevice/hvx
Test: VtsHalNeuralnetworksV1_1TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.1::IDevice/sample-all
Test: NeuralNetworksTest_static
Bug: 63911257
Merged-In: I040b68d84504180ba3039e4690d0cd43c2c2649f
Change-Id: I040b68d84504180ba3039e4690d0cd43c2c2649f
(cherry picked from commit 4b458caa4e
)
2018-03-05 13:00:46 -08:00
Michael Butler
162aa583b8
Create NeuralNetworks HAL v1.1 for new OperationTypes
...
Test: mm
Change-Id: I08efaba79ec28a2f89e94a84ab88b0fa701b7d98
(cherry picked from commit 5c6ee9ecef
)
2018-01-31 15:42:11 -08:00