commit | 2504c2fe4f3dc6975165d35a8ea1610d8bc4c477 | [log] [tgz] |
---|---|---|
author | Michael Butler <butlermichael@google.com> | Wed Apr 11 16:30:09 2018 -0700 |
committer | Michael Butler <butlermichael@google.com> | Thu Apr 12 19:56:14 2018 -0700 |
tree | 014e39ade7331c4de17fc55ca97c9c283dfe1b06 | |
parent | 1f88e2092fa424b28a82fa59bce523b59776ac7c [diff] |
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 Change-Id: Ib928d510d462f36b6a87d5e81010513db7829fa8