History log of /frameworks/ml/nn/common/include/ValidateHal.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1e9666208595bc251a8958155b1e41eca90b69db 12-Apr-2018 Michael Butler <butlermichael@google.com> NNAPI: Add execution preference to prepareModel (runtime)

A model can be compiled 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: I93079b18224ea10cb0a23bfbdc1ed80e302071a8
/frameworks/ml/nn/common/include/ValidateHal.h
75886e77f9ca074173a49283b5c0a8c182d98977 23-Jan-2018 Michael Butler <butlermichael@google.com> Upgrade NeuralNetworks v1.0 to v1.1.

For Android P, the NNAPI is getting new operations. To support this
change, the NN runtime needs to handle both v1.0 and v1.1. This change
brings the NN runtime up to v1.1 and adds a VersionedIDevice class which
manages both v1.0 and v1.1 calls.

Test: mm
Test: cts and vts test binaries
Change-Id: Iaec1dcfe00c1712a0ac89954ae142d4ea126989d
/frameworks/ml/nn/common/include/ValidateHal.h
c5e342b62bf25a98d15ae28ee97916b274296e94 12-Oct-2017 Jean-Luc Brouillet <jeanluc@google.com> Improve validation of the HAL structures.

Add a lot of validation of the structures passed in the HAL.
Particularly important are those that operands & arguments
don't try to reach out of their memory blocks.

Also grabs a few missing generated tests.

Bug: 67828197
Test: System tests & VTS tests.

Change-Id: I2edf6219fc660fab7c5b6a73e7a9cb8a358fb29b
/frameworks/ml/nn/common/include/ValidateHal.h