Age | Commit message (Collapse) | Author |
|
* Added Flatbuffers dependency to android-nn-driver
* Added CacheLoadedNetwork options to android-nn-driver
Options will be android.hardware.neuralnetworks@1.3-service-armnn -v -c GpuAcc -n arm-armnn -s -q <file_path> &
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I2cdf0b84062cb1c6ad4346cd64b00161cfe85920
|
|
* Boost::array is used in a small number of nn driver unittests. It
can be directly replaced by std::array in C++ 11.
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I4c6f4489b7cab8e60c6b76172c3027f953d63e3c
|
|
* WIP
!armnn:4231
!armnn:4287
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: I7844efc84fac018d8aad1f72dd236ede3fd8e7f2
|
|
* Replaced with stringstream, string or filesystem::path
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I2aa80d88cc0eaff5de4dc6a121370ebf41dcb0a8
|
|
* Enabled Dynamic Tensors in QUANTIZED_LSTM operator.
!android-nn-driver:3897
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I415014d19729aac255479099e372e5ff1a6dd3e2
|
|
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: Ie45464f2b04c8f2bb30ca06ff91b96492f2466b0
|
|
* Fixed small compile issue.
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: Id3dbb2daf633532ad29e8cc2cb3d112437c2f649
|
|
* Added QLSTM unit tests
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: Ibb7587d8a4fae4a630e7e80f4c3ce830665a7c77
|
|
* Added missing operand parameter numberOfConsumers to DriverTestHelpers
* Added nullptr checks to unit tests
* Disabling QuantizedLstmTest when ARMCOMPUTECL_ENABLED is undefined
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: I46dc413d3bb1805eb0e7c982177b6d60d0b297f5
|
|
* Check if the model is prepared.
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: Ia6ea7c5b61a1da97acddddfc5431925cbb4f0227
|
|
* Implemented executeFenced() function in HAL 1.3 Driver
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I11f8f532e9688d4e194992b46dbed575a19be3c5
|
|
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: If602024a339df7548333e470545f9400c3daf7b3
|
|
When building AndroidNN for a commercial silicon device, there's no need to include libOpenCL as we should be able to use the one already on the device
Change-Id: I5ef5776010399dd2d2d48958465daf4b71e4f825
Signed-off-by: alered01 <Alex.Redshaw@arm.com>
|
|
* 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
|
|
* replaced boost::ignore_unused with armnn::IgnoreUnused
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I4443a3620ed7d51b151af67c070d4225e410b5fa
|
|
* Update ErrorStatus to V1_0::ErrorStatus
* Update Request to V1_0::Request
* Update OperandType to V1_2::OperandType
* Add namespace android::nn::hal in ArmnnDriverImpl for R only
* Add missing g_RelaxedFloat32toFloat16PerformancePowerUsageName
* Add namespace V1_0 or V1_1 where necessary
* Update Android.mk with R macro and android.hardware.neuralnetworks@1.3
* Remove androidnn.go
* include IAllocator in DriverTestHelpers
* Remove unused LOCAL_CFLAGS
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I1787f1ed6784b3bbec017536d87d49197405e853
Signed-off-by: Kevin May <kevin.may@arm.com>
|
|
* Partial reversion to restore Android.mk files.
* Changed armnn-arm_compute library name to arm_compute_library.
!armnn:2714
This reverts commit 826dd41dc4de616059a61fb0aaec432311372c6c.
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: Idb4a2eeb6cbb19a249c1a85eec2cf597d6b6d970
|
|
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I019bdab899de19c1a2cb6bbd72dd38ceb677d98b
|
|
* .dot file will start with the same number as the associated input
and output tensor dump files
Change-Id: Ic64539854c2b8c34a7034fa18a142b2dfe67df7d
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
IVGCVSW-4271 Add getSupportedOperations marker file
* Also fix segfault in previous graph dump code
Change-Id: I01915f47ae17d89ad3595430d073a17b1a1fda58
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
|
|
* Adds missing conversion for permutation vector
from ANN/TF/Numpy format to ArmNN format.
* Corrects legacy tests based on incorrect
permutation vectors.
Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I767142378055e484d22f3ffba34580c528370cfe
|
|
* Add TensorQuant8SymmPerChannel to ArmnnDriverImpl::getCapabilities_1_2
* Add TensorQuant8Symm and TensorQuant8SymmPerChannel to Capabilities
supported operands tests
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: Ifbc742c5562f243172d2f4e6a2f6a8f3b6a405ea
|
|
!armnn:2232
Signed-off-by: janeil01 <jan.eilers@arm.com>
Change-Id: Ib24989dba72a9f9acd1c8017c1f39c3ee74030ea
|
|
* The version macro is set in the Version.hpp just like before,
so parsing it from file is no longer necessary
!armnn:2090
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Change-Id: I3f8d10bd7b8947f9361e50edf033ea4e93451faf
|
|
* Move the ArmNN version to a separate ArmnnVersion.txt file
* Updated makefiles accordingly
!referencetests:206978
!armnn:2089
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Change-Id: I02b838bc71611a866b3f96335e44a33b0167134f
|
|
* Added ConvertDepthToSpace() to hal_1_0::HalPolicy and hal_1_2::HalPolicy
* Implemented ConvertDepthToSpace() template inside ConversionUtils.hpp
* Changed unsupported operation from DEPTH_TO_SPACE to HASHTABLE_LOOKUP
in GenericLayerTests/GetSupportedOperations
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: I12bf73ea721e7b6d49cc4a76000b43a3f274c6f5
|
|
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
Change-Id: Ie3c535789186571df9000d75ad2a62ac8c94dcb4
|
|
* Templated AddPoolAndGetData and AddPoolAndSetData to accept different types
* Moved scale and offset to arguments of Add*Operand functions
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
Change-Id: Iaf4c2d5f4183ea54799bedae20950b23b914a727
|
|
* Updated the makefiles to include boost::filesystem
!armnn:1702
Change-Id: Ibe0a696d9fd473b552602266a89465289e9dc043
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
|
|
* Adding LSTM processing function in HAL 1.2 with normalization parameters
* Refactoring LSTM tests
!armnn:1608
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com>
Change-Id: I0e00f14ef078a333e9f2f23d6278a5d92a3001d6
|
|
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com>
Change-Id: Idca10ca2d55ae8d5ff95af8bdbbee5492d4a6af3
|
|
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com>
Change-Id: I65ae8669d8365bf372fbf0d1eceb48cbe06ef92a
|
|
* Updated test/Android.mk file to be consistent with Android.mk
* Updated version number in androidnn.go to match with q-fsk
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I847f073d92457d59735b8f9ab14c7404cf5f9515
|
|
* Included required functions to the Android Q build by using macro
ARMNN_ANDROID_NN_V1_2
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Change-Id: I3ea99ba4bebd85f0e8e69c72a90e1a7def4f9b35
|
|
with dilation params
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: I51a9c71d7a277ab530ac35faea2e8a069c134f45
|
|
* 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
|
|
!armnn:1209
Change-Id: Ic493e5cdfe479e459342d7c7c9d77c63f859fa30
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
|
|
* Refactor Convolution2d Unit test for fp16Enabled
* Disable GpuAcc for Unit tests in Android Q
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I9613eb325841bdf7d25abf51259fe2f5d973c929
|
|
* Updated Android.mk to build Android Q
* Added androidnn.go to inject cpp flags for Q
* Create Runtime when ACL is not enabled
Change-Id: Ia3e7a8e484fc81ce63998a65e29753cbf941173c
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Signed-off-by: Kevin May <kevin.may@arm.com>
|
|
* Updates on test classes.
Change-Id: I52e11a1d97d02c23e0a33e4e128dc43a4a95b5bc
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
|
|
Adds new unit test cases, and changes the implementation of
FlattenFullyConnectedInput to more closely match the documentation
of Android NNAPI.
Change-Id: I7ca96b1168b9c7bc78db66f53b0cc776153fd780
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
|
|
Change-Id: Ia4dd63927a54aa0cc24d5a378f30189c957f12e8
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
|
|
* Add fix for optional NO_VALUE operands in ConversionUtils.hpp
* Remove fail message for optional NO_VALUE in ConversionUtils.hpp
* Add to existing tests and test helper to cover optional NO_VALUE
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: Icf36af1fc00d3fb33cdd77ff6d6618cc4700d3fd
|
|
* Refactored the LSTM unit tests to avoid unnecessary copies
* Added new AddTensorOperand convenience function
* Fixed some required arguments in some tests
* Added new files to Android.bp
!armnn:124
Change-Id: I77ed22f2692d8aa46884b9ee31e48403f7299545
|
|
Mean layer
* Added unit tests (in a new file test/1.1/Mean.cpp)
* Refactored ArmnnDriverImpl to remove redundant tags in the log
messages
* Modified AddInputOperand to accept a quantized input tensor
Change-Id: Ie037ce426777daab28b0501124e1cc8686ad6184
|
|
Change-Id: I12e462c9a0a3613f0158f73929c566f53d1b3c76
|
|
Change-Id: I5b1209a871d0a848bb1fdfba5228f181e6968004
|
|
* Changed #if defined to #ifdef
* Simplified the Android ML namespace resolution
* Fixed the relative path in some include directives
Change-Id: I46e46faff98559c8042c1a4b8b82007f462df57d
|
|
before and after passing the FP16 flag in the Android-nn-driver
Change-Id: If8d4ca12421c3bee2526eec98f11d393af822373
|
|
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
|
|
ALLOW_MISSING_DEPENDENCIES to true on Android versions that don't
provide all the HAL versions supported by the NN Driver
Change-Id: I7c828649499ca1d7cb26feb93f559e9f1eae33c7
|