Refactor DequantizeIfRequired()

* Added DequantizeStatus enum to capture the status of the
  dequantization process
* Added alias DequantizeResult for the return tuple
* Renamed instances of Operand, Operation and Model template
  variables to HalOperand, HalOperation and HalModel for
  consistency across ConversionUtils

Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: I2d5cf0dd9f9baba95684bb0b9fe20e63c0f377a3
1 file changed
tree: 06b15f657ccea8f6e344443cf707b548d455198a
  1. 1.0/
  2. 1.1/
  3. 1.2/
  4. docs/
  5. test/
  6. .gitignore
  7. Android.bp
  8. android.hardware.neuralnetworks@1.0-service-armnn.rc
  9. android.hardware.neuralnetworks@1.1-service-armnn.rc
  10. android.hardware.neuralnetworks@1.2-service-armnn.rc
  11. Android.mk
  12. androidnn.go
  13. ArmnnDevice.cpp
  14. ArmnnDevice.hpp
  15. ArmnnDriver.hpp
  16. ArmnnDriverImpl.cpp
  17. ArmnnDriverImpl.hpp
  18. ArmnnPreparedModel.cpp
  19. ArmnnPreparedModel.hpp
  20. ArmnnPreparedModel_1_2.cpp
  21. ArmnnPreparedModel_1_2.hpp
  22. ConversionUtils.cpp
  23. ConversionUtils.hpp
  24. DriverOptions.cpp
  25. DriverOptions.hpp
  26. LICENSE
  27. ModelToINetworkConverter.cpp
  28. ModelToINetworkConverter.hpp
  29. NnapiSupport.txt
  30. README.md
  31. RequestThread.cpp
  32. RequestThread.hpp
  33. service.cpp
  34. setup.sh
  35. SystemPropertiesUtils.hpp
  36. Utils.cpp
  37. Utils.hpp
README.md

ArmNN Android Neural Networks driver

This directory contains the ArmNN driver for the Android Neural Networks API, implementing the android.hardware.neuralnetworks@1.0, android.hardware.neuralnetworks@1.1 and android.hardware.neuralnetworks@1.2 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/