aboutsummaryrefslogtreecommitdiff
path: root/ModelToINetworkConverter.cpp
AgeCommit message (Collapse)Author
2020-03-26IVGCVSW-4447 Add Hal 1_3 SupportKevin May
* Add new 1.3 files HalPolicy, ArmnnDriver, ArmnnDriverImpl * Add new .rc file for 1.3 service * Add ArmnnPreparedModel_1_3 and implement new functions * Update Android.mk with 1.3 driver and service * Refactor ifdef to include ARMNN_ANDROID_NN_V1_3 * Create Utils getMainModel for new 1.3 Model Main Subgraph * Use android Utils to convertToV1_X in ArmnnPrepapredModel_1_3 * Refactor HAL 1.2 convert functions into ConversionUtils_1_2.hpp * Replace ArmnnBurstExecutorWithCache with call to ExecutionBurstServer Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I514069e9e1b16bcd1c4abfb5d563d25ac22d02e3
2019-11-29Catch std::exception instead of armnn::ExceptionDerek Lamberti
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com> Change-Id: I89ae4f3b607ccb83f1bf16e085c805d5fc5cf89c
2019-06-18IVGCVSW-3136 Run VTS tests with 1.2 DriverSadik Armagan
* Updated android-nn-driver to run VTS tests with 1.2 Driver Change-Id: I99a73b1e32dcf5bc655d88c2dbe0e610e245ea15 Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
2019-06-11IVGCVSW-3181 Add HAL 1.2 support to android-nn-driverMike Kelly
* Updated Android.mk to build HAL 1.2 driver * Added 1.2 HalPolicy and ArmnnDriver * Added 1.2 ArmnnPreparedModel * Updated converters and utilities to accept new HAL 1.2 operands and operand types. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I62856deab24e106f72cccce09468db4971756fa6
2019-05-07IVGCVSW-2911 Work towards compatibility with QMatthew Bentham
Explicitly use HAL V1_0 Operand, OperandType, and IPreparedModelCallback Change-Id: If6aa6e9dc1bd0b7673ec247ac3560e7f072ef699 Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
2019-04-04IVGCVSW-2886 Support multiple backends in Android driverNattapat Chaimanowong
Change-Id: I4abe1f750801911570b6dc65c187b828c5929b5f Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
2018-09-18IVGCVSW-1806 More Android NN Driver refactoringMatteo Martincigh
* Changed #if defined to #ifdef * Simplified the Android ML namespace resolution * Fixed the relative path in some include directives Change-Id: I46e46faff98559c8042c1a4b8b82007f462df57d
2018-09-18IVGCVSW-1806: Refactor Android-NN-Driver ModelToINetworkConverterarovir01
* Moved conversion logic into new V1_0 and V1_1 HalPolicy classes * Extracted common helper functions into ConversionUtils class Change-Id: I1ab50edc266dd528c0cb22a5cd1aa65e103674d9
2018-09-18IVGCVSW-1807: change license text in file headersDavid Beck
All changes are the same: // // Copyright © 2017 ARM Ltd. All rights reserved. -// See LICENSE file in the project root for full license information. +// SPDX-License-Identifier: MIT // Change-Id: Ibb7ed1e4e2191b9a978e26b5bacf916db403a60e
2018-09-18IVGCVSW-1806 Restored the fp16 flag left behind during the previousMatteo Martincigh
refactoring * Split getCapabilities and getCapabilities_1_1 as it was before * Setting relaxedFloat32toFloat16Performance when using HAL 1.1 as required by one of the VTS test Change-Id: Iff883b8cbd0511596e9848fa40e91e4fa58d4260
2018-09-18IVGCVSW-1806 Refactored Android-NN-Driver, added common "getCapabilities",Matteo Martincigh
"getSupportedOperations" and "prepareModel" implementations * Added common base ArmnnDriverImpl class * Added common template implementation of the driver's "getCapabilities", "getSupportedOperations" and "prepareModel" methods * Refactored ArmnnPreparedModel and RequestThread to support HAL v1.1 models * Moved "getStatus" to the common base class, as it is shared by both HAL implementations * Refactored the code where necessary Change-Id: I747334730026d63b4002662523fb93608f67c899
2018-09-18IVGCVSW-1799: Add converter method for DIV to ModelToINetworkConverterarovir01
Change-Id: I64fcdb8ac2fd6f9ca0d2811ed2f98008c6396c15
2018-09-18IVGCVSW-1770: Refactor ModelToINetworkConverter to allow conversion of ↵kevmay01
HAL1.1 operators Change-Id: I9b10f0a9c88344df108b2325c0233f9660fa6b7c
2018-09-18IVGCVSW-1324: Added boost::optional convolution biases to ↵arovir01
ModelToINetworkConverter !armnn:145897 Change-Id: I9684c37bcac148bb5de0ee14d2af331956b511a8
2018-08-31Release 18.08telsoa01
2018-07-05Release 18.05.02surmeh01
2018-05-23Release 18.05surmeh01
2018-03-09Release 18.02telsoa01
Change-Id: I41a89c149534a7c354a58e2c66a32cba572fc0c1