Revert "Revert "Merge remote-tracking branch 'aosp/upstream-main' into m...""

This reverts commit 1b2abb73b00740ba05b0fe2d34619068b8d39394.

Bug: 278832962
Test: Local CtsNNAPI CTS
Change-Id: I80ab7881bba097d5f0c1ef94ac15f556bd1310a4
95 files changed
tree: cc1218b633653b702e452bc186319c14d65717e4
  1. 1.0/
  2. 1.1/
  3. 1.2/
  4. 1.3/
  5. docs/
  6. LICENSES/
  7. test/
  8. .gitignore
  9. .gitignore.license
  10. Android.bp
  11. android.hardware.neuralnetworks@1.0-service-armnn.rc
  12. android.hardware.neuralnetworks@1.0-service-armnn.rc.license
  13. android.hardware.neuralnetworks@1.1-service-armnn.rc
  14. android.hardware.neuralnetworks@1.1-service-armnn.rc.license
  15. android.hardware.neuralnetworks@1.2-service-armnn.rc
  16. android.hardware.neuralnetworks@1.2-service-armnn.rc.license
  17. android.hardware.neuralnetworks@1.3-service-armnn.rc
  18. android.hardware.neuralnetworks@1.3-service-armnn.rc.license
  19. Android.mk
  20. ArmnnDevice.cpp
  21. ArmnnDevice.hpp
  22. ArmnnDriver.hpp
  23. ArmnnDriverImpl.cpp
  24. ArmnnDriverImpl.hpp
  25. ArmnnPreparedModel.cpp
  26. ArmnnPreparedModel.hpp
  27. ArmnnPreparedModel_1_2.cpp
  28. ArmnnPreparedModel_1_2.hpp
  29. ArmnnPreparedModel_1_3.cpp
  30. ArmnnPreparedModel_1_3.hpp
  31. CacheDataHandler.cpp
  32. CacheDataHandler.hpp
  33. ConversionUtils.cpp
  34. ConversionUtils.hpp
  35. ConversionUtils_1_2.hpp
  36. ConversionUtils_1_3.hpp
  37. DriverOptions.cpp
  38. DriverOptions.hpp
  39. LICENSE
  40. LICENSE.spdx
  41. ModelToINetworkConverter.cpp
  42. ModelToINetworkConverter.hpp
  43. NamespaceAdaptor.hpp
  44. NnapiSupport.txt
  45. NnapiSupport.txt.license
  46. OWNERS
  47. README.md
  48. README.md.license
  49. RequestThread.cpp
  50. RequestThread.hpp
  51. RequestThread_1_3.cpp
  52. RequestThread_1_3.hpp
  53. SECURITY.md
  54. SECURITY.md.license
  55. service.cpp
  56. setup.sh
  57. SystemPropertiesUtils.hpp
  58. Utils.cpp
  59. Utils.hpp
README.md

Arm NN Android Neural Networks driver

This directory contains the Arm NN driver for the Android Neural Networks API, implementing the android.hardware.neuralnetworks@1.0, android.hardware.neuralnetworks@1.1, android.hardware.neuralnetworks@1.2 and android.hardware.neuralnetworks@1.3 HALs.

For more information about supported operations and configurations, see NnapiSupport.txt

For documentation about integrating this driver into an Android tree, see Integrator Guide

For FAQs and troubleshooting advice, see FAQ.md

License

The android-nn-driver is provided under the MIT license. See LICENSE for more information. Contributions to this project are accepted under the same license.

Individual files contain the following tag instead of the full license text.

SPDX-License-Identifier: MIT

This enables machine processing of license information based on the SPDX License Identifiers that are available here: http://spdx.org/licenses/