Age | Commit message (Collapse) | Author |
|
This reverts commit 8509422e1e7d629f88d6a5e4e4bded8a682f435b.
Reason for revert: Reverting as this might be the cause of several segfaults on CI
Change-Id: I902b4ddaec23dc46a2459f8512ec458e1aa722f3
|
|
* Use ARMNN_ETHOS_ENABLE variable to enable it
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I5465b7738556604367262cf9aa8e1ce6e01639b9
|
|
!armnn:7025
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: Iaa6112fb52d0f2942e6c52f90d96a8dc96000518
|
|
When building Android S this is during the build ending up as
both unsigned long long and unsigned long, this makes the
build break when building the tests.
As both seem to be used during a normal build it will not help
to just change the %ul to %ull as you get an error on that instead.
This fixes so it's always printing with unsigned long.
Signed-off-by: Zingo Andersen <zingo.andersen@arm.com>
Change-Id: I1d1e4b8ab72c563a3b570f30112a7ce076f0a54e
|
|
* Unidirectional Sequence Lstm is supported in android-nn-driver.
* CTS and VTS pass for Unidirectional Sequence Lstm if there are
any without weights as inputs. If that isn't the case use the
tests implemented in the android driver for LSTM.
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Ie3a237b67f5101c4f9a2c7bea796e9c674bedba1
|
|
Change-Id: I95e6a3819ba99e41883f9d64a0bd6ce8706a7a4f
Signed-off-by: Zingo Andersen <zingo.andersen@arm.com>
|
|
* When handling Tensors DumpTensor was automatically trying to turn
them into ConstTensors but then threw an exceptions when IsConstant
returned false
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I8681bb3dd41cfe19c60fbd1cc9394c8b6cca551e
|
|
* Fixed test failures.
!armnn:6617
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I9989ece8999d67dd40dfcf69b73f4d80f71687a4
|
|
!armnn:6495
* Made fixes to 3 files ArmnnPreparedModel(_1_2/_1_3).cpp to set
TensorInfo to constant in PrepareMemoryForInputs().
* Fixes made due to cts and vts failures in
https://review.mlplatform.org/c/ml/armnn/+/6495
when a Tensor is passed to a ConstTensor without the
TensorInfo isConstant parameter being set.
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Iee179586652f365665a22f1e3409c1488c2d8bb3
|
|
* Cached serialized ArmNN model.
!armnn:6384
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I78120a7f8ea892a28c0ff25f1b54e67a4f912574
|
|
* Removed unreachable code
* break after if else where both branches return
* Removed unused operations
* Result of dstPtr++ is unused
* Fixed possible overflow
* Axis dimensionSequence assignment can result in overflow where rank
is not 4
* Removed use of old-style casts
* Fixed spelling mistakes in error messages
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: If2a7ab63fc1d200cb18b494d99a67bbddb42f0f8
|
|
Signed-off-by: Zingo Andersen <zingo.andersen@arm.com>
Change-Id: I95e6a3819ba60e41885f9d64c0bd6ce8706a7b1e
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ic82d8ac6461e404f41e8888336e8d7514bef6433
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Icabc39559efd9e621657eb48454fe52155e8c9ff
|
|
Signed-off-by: Kevin May <kevmay01@e126674.cambridge.arm.com>
Change-Id: I92334f3215160ccdd3eb974456a6400bced42065
|
|
* Changed asserts to check for errors and return appropriate values or
throw exceptions
* Changed unit tests to use Doctest's long macro names as the short
macro names clashed with Android's Logging macros
* Removed unused #includes
* Clarified ambiguous #includes
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: Ice92a37590df727fd581d3be5ff2716665f26a13
|
|
!armnn:6254
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I728048874839cddedc8421233294d51d7f3e2415
|
|
!armnn:6211
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ie5e5d160f6d826c30f1fff298a4a73151c1ccdbb
|
|
* ArmnnDriver queries the options and returns CPU or GPU
depending on which is the first backend listed in the options
* Resolves MLCE-401
Change-Id: If4e63e144507e817449f37926711fa325861b57d
Signed-off-by: Pablo Tello <pablo.tello@arm.com>
|
|
!armnn:6053
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I678be047c0919d98dbd22d22f4c1fd1ea80ea0b7
|
|
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: I2006f1d696d155742227eed940d7d97ed9385a66
|
|
* Some tests on GpuAcc and CpuAcc P & Q were skipping because
IsConstant flag wasn't set on TensorInfo passed to validation function.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Idd977bf621b71bb9625d8fc6620c29915de4b431
|
|
* Constant weights and biases are now stored as Constant layers.
!armnn:5942
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: I867a696eb684df2d0d5f7db8dd9c38933445f388
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I2c3f5f2a638bf99e379f91b9d1d1c99d491a0153
|
|
!armnn:5954
Change-Id: Ic2904a0ccbcf24b30041a55d9c369c2424da1624
Signed-off-by: Rob Hughes <robert.hughes@arm.com>
|
|
* Remove all references to boost from the android-nn-driver build files:
!armnn:5811
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I7df7d815e658a52acf3e32305bc300dfaf9a1fe4
|
|
the threadpool
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Ie350a11eab5d677dd6a5571ea4094aa51b23c501
|
|
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I2209251736a095583fffc8da774188e0dccfc932
|
|
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I7cb21e18a7031b8cfe579046b33ad0491aa5c629
|
|
!armnn:5801
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I9964d0899ce752441f380edddbd974010257b2dd
|
|
* Use the correct method to get memory size
* Remove extra line that was a pre-existing typo
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I807fc6b5d6fe32b28975ae2a98a6179712c26a96
|
|
!armnn:5755
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I82dc434ee9bfff452ec6c27527a5b3f91ebfe2ea
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I597344d91975d7067f137e6587b751500de33837
|
|
!armnn:5552
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I5bbc998f1a29030f718d85b646907c5a314ceecf
|
|
* Used doctest in android-nn-driver unit tests.
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I9b5d4dfd77d53c7ebee7f8c43628a1d6ff74d1a3
|
|
!armnn:5539
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I9616955fa9980f00ba3652da4323cadf392b9ef4
|
|
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I4037e3bb47ed0f5585663ca56eed2866bc8a9ef7
|
|
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I1f13d04100fdb119495b9e3054425bf3babc59f1
|
|
Change-Id: I4e3144cafad370866325cda668bfc389455f1d44
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
|
|
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I90aab58be45c621701eb55fa3f3fd94c68883acb
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I653a6ca0e88053c77adb9b7effb7a28ec1f12375
|
|
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: I59359d4ffaf55963442ebb0231e1ee4a77616c28
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I4eaab3e4cc83b817afa6fe7521710c9fab0fd8a4
|
|
* Added checks to DumpTensor to handle situations where a shape has no
dimensions or some unspecified dimensions
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: If9022a278d138ece12c7e347c61722bf5a2faf3b
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Id23a34674f2513373652586ec353f6352f0da871
|
|
!armnn:5494
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: Ie99d58f7421c2634c23d2a68d1acaaac651963a4
|
|
* The permutation of the tensor info is now completely handled in
the armnnUtils::Permuted function. That includes quantization
informations too
!armnn:5411
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I40410141303d950be7888f9e491133251b6f69d8
|
|
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ia2bdae7a38252414d295d10a0a2cbb9ae7b083d4
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: If6ed4e513cc0e8ee29fb76127d66893f8b98e30b
|
|
* A number of DepthwiseConv2d Cts tests pass a filter operand with a
dimension[0] value greater than 1 in contravention of Android
documentation. Adding a check to handle this gracefully.
* Changing a hard assert in ConversionUtils::ConstTensorPin to a warning.
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I605340d098b717d1d88d259a0ed89a801287764d
|