platform_hardware_interfaces/neuralnetworks
Michael Butler 6547b2ac9c Validate during NN conversions by default -- hal
This change renames all `convert` functions to `unvalidatedConvert`.
This change also introduces new `convert` functions that act only on the
types that appear in the NN HIDL methods directly. These new `convert`
functions perform validation. Specifically, if either the source or
destination value is invalid, then the conversion fails.

Bug: 160667419
Test: mma
Test: NeuralNetworksTest_static
Change-Id: I492956ff60ad1466c67893993d28cdd6f3860708
Merged-In: I492956ff60ad1466c67893993d28cdd6f3860708
(cherry picked from commit 32acc06144)
2020-12-07 22:37:28 -08:00
..
1.0 Validate during NN conversions by default -- hal 2020-12-07 22:37:28 -08:00
1.1 Validate during NN conversions by default -- hal 2020-12-07 22:37:28 -08:00
1.2 Validate during NN conversions by default -- hal 2020-12-07 22:37:28 -08:00
1.3 Validate during NN conversions by default -- hal 2020-12-07 22:37:28 -08:00
utils Validate during NN conversions by default -- hal 2020-12-07 22:37:28 -08:00
README Add README to NeuralNetworks HAL 2018-03-05 12:59:35 -08:00
TEST_MAPPING Move VtsHalNeuralnetworksV1_2/3TargetTest to group presubmit-large 2020-12-03 12:10:46 -08:00

NeuralNetworks sample driver implementation is located at
frameworks/ml/nn/driver/sample.