platform_hardware_interfaces/neuralnetworks
Michael Butler c7327c57f9 Fix NNAPI QoS Deadline test
The Deadline test was directly loading into the field of a std::optional
instead of emplacing, which is undefined behavior. This has been
corrected to emplace.

Additionally, previously the deadline test always checked the tensor
results of the execution. This is changed to only check the results
when the driver reports that the execution completed successfully.

Finally, this CL merges similar switch case statements.

Bug: 149766387
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I1068fe70e74a12006dea3cdf4ae9da50004ad24b
2020-02-19 18:33:16 +00:00
..
1.0 Add control flow support to NNAPI VTS tests 2020-02-12 14:29:27 +00:00
1.1 Add control flow support to NNAPI VTS tests 2020-02-12 14:29:27 +00:00
1.2 Add parallel linking support for BIDIRECTIONAL_SEQUENCE_{LSTM|RNN} 2020-02-18 21:00:44 +00:00
1.3 Fix NNAPI QoS Deadline test 2020-02-19 18:33:16 +00:00
README Add README to NeuralNetworks HAL 2018-03-05 12:59:35 -08:00
TEST_MAPPING Change NNAPI VTS TEST_MAPPING to restrict testing on sample drivers 2019-10-29 19:08:38 -07:00

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