platform/upstream/armnn.git
3 years agopackaging: Add patch set for hand gesture model support 96/243696/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.105326 accepted/tizen/6.0/unified/hotfix/20201102.235546 accepted/tizen/unified/20200911.043129 submit/tizen/20200910.024357 submit/tizen_6.0/20201029.205501 submit/tizen_6.0_hotfix/20201102.192901 submit/tizen_6.0_hotfix/20201103.115101 tizen_6.0.m2_release
Inki Dae [Wed, 9 Sep 2020 06:59:32 +0000 (15:59 +0900)]
packaging: Add patch set for hand gesture model support

This patch adds a patch set for hand gesture model support.
With this patch set, the hand gesture model from AIC works well.

What this patch set does,
 - Add ArgMax op support
 - Add ReduceSum op support
 - Add ReverseV2 op support
 - Add ReduceMax op support
 - Add Division op support
 - Fix wrong axis value for Pack op
 - Skip ArgMax op for GpuAcc

This patch set will be upstreamed to ARMNN mainline.

Change-Id: I23967e3f1948cd07b11798389a4d362fbf346a15
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agopackaging: Add xxd binary for aarch64 and fix path accepted/tizen/unified/20200803.122228 submit/tizen/20200731.060745
Inki Dae [Fri, 31 Jul 2020 05:39:13 +0000 (14:39 +0900)]
packaging: Add xxd binary for aarch64 and fix path

Change-Id: I139ca1fcbff020985e6d0f1a165f53ecbdcf9d32
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agopackaging: Use embedded flatbuffer schema files submit/tizen/20200730.075407
Inki Dae [Tue, 28 Jul 2020 02:00:14 +0000 (11:00 +0900)]
packaging: Use embedded flatbuffer schema files

This patch drops tensorflow lite package dependency and
makes embedded flatbuffer schema files instead because
tensorflow lite version is 1.13 but armnn needs 1.15.

Change-Id: I5ff5967ecbfc47abdc82436a3abf38900318e736
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agoUse Tizen specific TF_LITE_SCHEMA_PATH
Inki Dae [Mon, 29 Jun 2020 09:25:07 +0000 (18:25 +0900)]
Use Tizen specific TF_LITE_SCHEMA_PATH

The schema file, schema.fbs, will be installed in /usr/share/...
in case of Tizen so use the specific TF_LITE_SCHEMA_PATH
so that ARMNN can find schema.fbs in given path.

Change-Id: Idd9b23000d18995fc5df4a45b0510c47231ae0c2
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agopackaging: Add xxd binary for hex data type
Inki Dae [Thu, 2 Jul 2020 02:43:11 +0000 (11:43 +0900)]
packaging: Add xxd binary for hex data type

Change-Id: I1f7bf666b1e156405ad75c7962c1157b6bdaefff
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agopackaging: Fix spec file for v20.05 support
Inki Dae [Mon, 27 Jul 2020 06:13:11 +0000 (15:13 +0900)]
packaging: Fix spec file for v20.05 support

Change-Id: I30d52105476bb07ec4e29388b2cf360467c0334e
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agoFix pc file
Inki Dae [Mon, 27 Jul 2020 06:12:58 +0000 (15:12 +0900)]
Fix pc file

Change-Id: I2473d61eb52d8a61b858a21eac8e4fa0de3c0df1
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agoFix build error with GCC 9
Inki Dae [Mon, 27 Jul 2020 06:11:16 +0000 (15:11 +0900)]
Fix build error with GCC 9

Change-Id: I1c798f3c84e56aee3a09bb0b0934b27cf94d8683
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agoCatch exceptions by const reference
Pavel Macenauer [Tue, 26 May 2020 10:54:22 +0000 (10:54 +0000)]
Catch exceptions by const reference

Change-Id: I4b4d8ae419dfb8470e8937e75cd3bab85f03b935
Signed-off-by: Pavel Macenauer <pavel.macenauer@nxp.com>
Back-ported from mainline.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agoIVGCVSW-4968 Fix exception handling in TfLiteParser.
Colm Donelan [Tue, 9 Jun 2020 15:56:25 +0000 (16:56 +0100)]
IVGCVSW-4968 Fix exception handling in TfLiteParser.

* The function TfLiteParser::CreateNetworkFromModel was continuing
  to parse the input file even after a fatal exception was encountered.
  restructure catch exceptions outside the for loop.
* Add simple unit tests to test some exception handling.

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Back-ported from mainline
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Change-Id: I202ca6819d40a47159b4ac8f2847958f945666c2

3 years agoDist/Tizen: support selective framework and pkgconfig
Parichay Kapoor [Tue, 31 Dec 2019 10:29:38 +0000 (19:29 +0900)]
Dist/Tizen: support selective framework and pkgconfig

Add package config for armnn package
Add selective enabling of framework in build
Add flatc while building with flatbuffers
Add tflite header files

Change-Id: I77eecd22cf80eb4c5ccfb2a83399354869dac39b
Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
3 years agoDist/Tizen: remove obsolete pkg names
MyungJoo Ham [Fri, 29 Nov 2019 03:57:25 +0000 (12:57 +0900)]
Dist/Tizen: remove obsolete pkg names

There is no one using that name.
Remove the obsolete name.

Change-Id: Ice9cc4fcace5fc6d08d7db396fee976f3615c467
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
3 years agoDist/Tizen: spec file clean-up
MyungJoo Ham [Tue, 26 Nov 2019 02:16:21 +0000 (11:16 +0900)]
Dist/Tizen: spec file clean-up

1. Do not use "release" postfix for the main library.
2. Do not use -n %{name} prefix. Drop that.
3. Added missing interanl dependencies

Change-Id: Ibb617be8206df149cd2849deef4fbc859484ebfc
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
3 years agopackaging: enable SHARED_BOOST flag
Inki Dae [Wed, 18 Dec 2019 06:28:36 +0000 (15:28 +0900)]
packaging: enable SHARED_BOOST flag

Change-Id: I444982b9b171a4b341b73bd8085255109c0c2a27
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agopackaging: clean up spec file
Inki Dae [Tue, 3 Dec 2019 05:33:47 +0000 (14:33 +0900)]
packaging: clean up spec file

Change-Id: If92810d16ceb38786fed8e66d8c03242ea6188f6
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agopackaging: install required packages
Inki Dae [Tue, 26 Nov 2019 10:23:57 +0000 (19:23 +0900)]
packaging: install required packages

Change-Id: I8e0677c0afc649fadc2299a52b75316c255e1bb7
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agoupdate tensorflow lite schema files
Inki Dae [Tue, 26 Nov 2019 10:23:34 +0000 (19:23 +0900)]
update tensorflow lite schema files

Change-Id: Ibc6639cf2c0ebe9c8d9ad09c8967a2286739d17a
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agopackaging: update spec file for acl v19.11 support
Inki Dae [Tue, 8 Oct 2019 05:35:01 +0000 (14:35 +0900)]
packaging: update spec file for acl v19.11 support

This patch updates the spec file for acl v19.11 support
and drops TF parser support because it needs latest protobuf,
>= 3.7.1

Change-Id: Ic067b032790a3b60fa6b359bead66c67c7bbde09
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agopackaging: correct armnn version
Inki Dae [Tue, 12 Mar 2019 02:03:37 +0000 (11:03 +0900)]
packaging: correct armnn version

Change-Id: If7d441f87cd893866800b2db12052d75a2e6ff8e
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agoadd tensorflow lite parser support
Inki Dae [Thu, 20 Dec 2018 08:27:59 +0000 (17:27 +0900)]
add tensorflow lite parser support

Change-Id: I26b101415ed11a89f8bffdb54e635df74e21110d
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agoadd TF parser support
Inki Dae [Tue, 18 Dec 2018 08:50:34 +0000 (17:50 +0900)]
add TF parser support

Change-Id: Iba09005cb6249f7411319fc7265bad500ceb57e2
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agopackaging: add UnitTests app to rpm package
Inki Dae [Thu, 13 Dec 2018 05:47:32 +0000 (14:47 +0900)]
packaging: add UnitTests app to rpm package

Change-Id: Ifcc58be6e83cc4478227fab1b1cf9df849dc7dae
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agopacking: keep same package name for arm and aarch64
Inki Dae [Thu, 6 Sep 2018 01:12:47 +0000 (10:12 +0900)]
packing: keep same package name for arm and aarch64

Change-Id: I2330fe154b500931462a438405093270600e873b
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agopackaging: do not pack debug files
Inki Dae [Wed, 4 Jul 2018 04:19:26 +0000 (13:19 +0900)]
packaging: do not pack debug files

Change-Id: I55aec155f624f19a5c9f64f72a671e0026084103
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agoFix a build error
biao716.wang [Tue, 3 Jul 2018 08:59:56 +0000 (16:59 +0800)]
Fix a build error

Fixed build error: Found '/home/abuild/rpmbuild/BUILDROOT/armnn-18.05-0.arm' in installed files; aborting
refined this patch
Change-Id: I91534256de2144d86b37d42f85bb367643348bce
Signed-off-by : biao716.wang <biao716.wang@samsung.com>

3 years agoexternal: add single-file public domain library
Inki Dae [Thu, 28 Jun 2018 11:10:40 +0000 (20:10 +0900)]
external: add single-file public domain library

Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agotests: fix Tizen build
Inki Dae [Tue, 26 Nov 2019 08:40:29 +0000 (17:40 +0900)]
tests: fix Tizen build

This patch moves install directory of examples
to prevent gbs build from failed.

Change-Id: Ib5ef3d8025c0b4375c21df81b7434c405b07c6e1
Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agotests: fix InferenceTestImage app build error
Inki Dae [Fri, 22 Jun 2018 09:20:00 +0000 (18:20 +0900)]
tests: fix InferenceTestImage app build error

Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agopackaging: add spec file for Tizen build
Inki Dae [Thu, 28 Jun 2018 10:50:37 +0000 (19:50 +0900)]
packaging: add spec file for Tizen build

Signed-off-by: Inki Dae <inki.dae@samsung.com>
3 years agoIVGCVSW-4801: Updating Doxygen project version for 20.05 release.
Colm Donelan [Fri, 29 May 2020 10:15:40 +0000 (11:15 +0100)]
IVGCVSW-4801: Updating Doxygen project version for 20.05 release.

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I408a10610a5a91de4608b2597918445fcb5ee21c

3 years agoUpdate ArmNN README with doxygen information
Nikhil Raj [Wed, 27 May 2020 10:40:12 +0000 (11:40 +0100)]
Update ArmNN README with doxygen information

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I3ac729efba4945868710e2a233646f9634470967

3 years agoRemove Resize layer mentioned twice in the DeserializerSupport.md
Nikhil Raj [Tue, 26 May 2020 16:40:47 +0000 (17:40 +0100)]
Remove Resize layer mentioned twice in the DeserializerSupport.md

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ib8e9074fcd3cc30a092c3e928cb5bc3f2304f7ed

3 years agoIVGCVSW-4792 Update armnn readme and support files
Narumol Prangnawarat [Mon, 25 May 2020 13:44:46 +0000 (14:44 +0100)]
IVGCVSW-4792 Update armnn readme and support files

 * Add TPIP used by Arm NN
 * Add SqueezeNet to CaffeSupport.md
 * Add ResNet v2 50 to TensorFlowSupport.md
 * Update tested networks in TensorFlowLiteSupported.md

Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I15927ea600a3dfffee082933d32f235f3940730e

3 years agoFix some musl libc issues in armnn
Finn Williams [Fri, 22 May 2020 13:28:15 +0000 (14:28 +0100)]
Fix some musl libc issues in armnn

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Ifb0295ee4516ca6cbd4364ade418b707fb39b354

3 years agoIVGCVSW-4852 Add In File Copyright Notice Section to ContributorGuide.md
Jim Flynn [Wed, 20 May 2020 08:57:15 +0000 (09:57 +0100)]
IVGCVSW-4852 Add In File Copyright Notice Section to ContributorGuide.md

Change-Id: I58a4c0c6ce5fb806ac317b625663c2e3cbf689c8
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
3 years agoGithub #111
Jegathesan Shanmugam [Thu, 26 Mar 2020 17:17:37 +0000 (22:47 +0530)]
Github #111
Added Dockerfile to build ArmNN under an x86_64 system to target an Arm64 system.

Signed-off-by: Jegathesan Shanmugam <nullbyte.in@gmail.com>
Change-Id: I244bab37cc5fe7b38a22d4b530d42e593f223d79

3 years agoGithub #111
Jegathesan Shanmugam [Thu, 26 Mar 2020 16:55:32 +0000 (22:25 +0530)]
Github #111
Added Docker file to build an Android NDK container to build ARMNN.

Signed-off-by: Jegathesan Shanmugam <nullbyte.in@gmail.com>
Change-Id: I0f15dd21ae295894b168213c6522bb4d20051f76
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
3 years agoBugfix: Profiling use of substr() incorrectly parses semantic versioning
Francis Murtagh [Fri, 22 May 2020 11:49:25 +0000 (12:49 +0100)]
Bugfix: Profiling use of substr() incorrectly parses semantic versioning

 * With semantic versioning ARMNN_VERSION is changed from 20200500 to 21.0.0
   causing this function to return "Armnn .0..0" instead of "Armnn 20.1"
 * Remove the use of substrings and instead use the Major/Minor macros to
   give the expected output format: "Armnn 21.0" compared to last release's
   "Armnn 20.02"

Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: Id255ff154f59e922434f72a68563ccc6126e187a

3 years agoIVGCVSW-4792 Update armnn readme and support files
Narumol Prangnawarat [Thu, 21 May 2020 13:27:48 +0000 (14:27 +0100)]
IVGCVSW-4792 Update armnn readme and support files

 * Add Transpose to SerializerSupport.md
 * Remove ResizeBilinear as it is deprecated layer
 * Add EXP and SPLIT_V to TensorFlowLiteSupport.md
 * Add transpose to TensorFlowSupport.md

Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I05b0411b61c1b74b27b4669e81fa8ce521bb4190

3 years agoIVGCVSW-4453 QLSTM Support
Sadik Armagan [Fri, 22 May 2020 07:36:33 +0000 (08:36 +0100)]
IVGCVSW-4453 QLSTM Support

* Number of elements is output size for projection bias on QLSTM

Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I9d32cfb187bbe0c6ef809a7a89da907fbac83380

3 years agoAdding more performance metrics
alered01 [Thu, 7 May 2020 13:58:29 +0000 (14:58 +0100)]
Adding more performance metrics

* Implemented CLTuning flow for ExecuteNetwork tests
  * Added --tuning-path to specify tuning file to use/create
  * Added --tuning-level to specify tuning level to use as well as enable extra tuning run to generate the tuning file
* Fixed issue where TuningLevel was being parsed incorrectly
* Added measurements for initialization, network parsing, network optimization, tuning, and shutdown
* Added flag to control number of iterations inference is run for

Signed-off-by: alered01 <Alex.Redshaw@arm.com>
Change-Id: Ic739ff26e136e32aff9f0995217c1c3207008ca4

3 years agoIntegration of PyArmNN into CMake
Pavel Macenauer [Wed, 15 Apr 2020 14:17:26 +0000 (14:17 +0000)]
Integration of PyArmNN into CMake

Change-Id: Ice37e693f4598a6b3c38bd38d89f1d35cdaa8a18
Signed-off-by: Pavel Macenauer <pavel.macenauer@nxp.com>
3 years agoIVGCVSW-4452 Add QLstm EndToEndTest
James Conroy [Thu, 14 May 2020 11:46:44 +0000 (12:46 +0100)]
IVGCVSW-4452 Add QLstm EndToEndTest

* QLstm EndToEndTest added for Ref, NEON
  and CL.

Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: Icd2c878541f6304d726202a93d71ff3d79f6f054

3 years agoFew minor updates to BuildGuideAndroidNDK.md file
Nikhil Raj [Tue, 19 May 2020 14:55:25 +0000 (15:55 +0100)]
Few minor updates to BuildGuideAndroidNDK.md file

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I380862816cbc7ec509ff01791e77297b859f21ac

3 years agoIVGCVSW-4450 Add CL Enhanced Quantized LSTM Workload
Ryan OShea [Wed, 13 May 2020 15:36:19 +0000 (16:36 +0100)]
IVGCVSW-4450 Add CL Enhanced Quantized LSTM Workload

 * Adds QLstm CL workload
 * Added Layer and CreateWorkload tests

Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com>
Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I32335e528467bfd619edb249d2971705ac2a6163

3 years agoIVGCVSW-4451 Add QLstm NEON workload
James Conroy [Tue, 12 May 2020 17:08:52 +0000 (18:08 +0100)]
IVGCVSW-4451 Add QLstm NEON workload

* Adds QLstm workload.
* Adds CreateWorkload and Layer tests.

Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I585eb2691395ee4ccd45b5a853660f90fc5cc821

3 years agoUpdating ACL pin to their 20.05 release branch
Nikhil Raj [Wed, 20 May 2020 10:00:24 +0000 (11:00 +0100)]
Updating ACL pin to their 20.05 release branch

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I34d7d3ccfb21ff882df23dfcc961f3335256229f

3 years agoIVGCVSW-4795 Change armnn/Version.hpp to Semantic versioning format
Francis Murtagh [Wed, 13 May 2020 15:42:01 +0000 (16:42 +0100)]
IVGCVSW-4795 Change armnn/Version.hpp to Semantic versioning format

 * Bump major version to 21

Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: I35237dfa3683d962871bad6b0353f6910d7c3e3b

3 years agoIVGCVSW-4669 Set destination tensorInfo in MoveAllConnections()
Finn Williams [Thu, 14 May 2020 12:41:48 +0000 (13:41 +0100)]
IVGCVSW-4669 Set destination tensorInfo in MoveAllConnections()

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I3563209dcb3db1b40cf2db3855adc631b5e323be

3 years agoUpdate ACL pin to aba2f912a21487776e540724cf354a6cd8d89829
Nikhil Raj [Tue, 19 May 2020 10:05:29 +0000 (11:05 +0100)]
Update ACL pin to aba2f912a21487776e540724cf354a6cd8d89829

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I5fafae1e3d64056d2f717b2e74f675182e7c12d6

3 years agoIVGCVSW-4834 Add calls to increment REGISTERED_BACKENDS and UNREGISTERED_BACKENDS
Finn Williams [Fri, 15 May 2020 17:41:05 +0000 (18:41 +0100)]
IVGCVSW-4834 Add calls to increment REGISTERED_BACKENDS and UNREGISTERED_BACKENDS

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I3600dd15f97ccd4ab745deb87d06ba978e2a0b11

3 years agoFix some Windows build errors:
Rob Hughes [Fri, 24 Apr 2020 10:41:34 +0000 (11:41 +0100)]
Fix some Windows build errors:

* Cast to correct datatype for Winsock API
* Replace non-standard u_int32_t
* Add missing link dependency of timelineDecoder on armnn
* Don't try to link pthread if the platform doesn't have it
* Use abstracted Socket type rather than int
* Link to WinSock DLL on windows

Change-Id: I9ace4af50257ce1e3da92fb4c452f36775dac973
Signed-off-by: Robert Hughes <robert.hughes@arm.com>
3 years agoIVGCVSW-4449 Add missing QLstm nullptr checks
James Conroy [Mon, 18 May 2020 14:16:42 +0000 (15:16 +0100)]
IVGCVSW-4449 Add missing QLstm nullptr checks

* Adds missing nullptr checks for peephole bias for
  QLstm.

Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: Ib04c8352141977cc7ea11a4859f1b11d46472722

3 years agoRemove parsing of EthosN profiling data, too specific for pyarmnn
Nina Drozd [Fri, 15 May 2020 16:54:19 +0000 (17:54 +0100)]
Remove parsing of EthosN profiling data, too specific for pyarmnn

Signed-off-by: Nina Drozd <nina.drozd@arm.com>
Change-Id: I04d82dd3a9759c660fdb908433becda915a3f5b5

3 years agoIVGCVSW-4831 Fix Packet header includes in backends
Finn Williams [Fri, 15 May 2020 12:34:12 +0000 (13:34 +0100)]
IVGCVSW-4831 Fix Packet header includes in backends

Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Iedfcf0ef487bd7836b1bc4ba8a0e4337dc4da391

3 years agoUpdate ACL pin 3155f77d23eb332974a6b9cb5d37a1329b8493a6
Teresa Charlin [Fri, 15 May 2020 11:34:23 +0000 (12:34 +0100)]
Update ACL pin 3155f77d23eb332974a6b9cb5d37a1329b8493a6

Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I2443dc8bc19239e954fff353a64d0b9d07623c6c

3 years agoIVGCVSW-4835 Change CounterSet and Device name offsets sizes to bytes
Finn Williams [Fri, 15 May 2020 10:21:54 +0000 (11:21 +0100)]
IVGCVSW-4835 Change CounterSet and Device name offsets sizes to bytes

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I5dee006d5532cc85b86997a4cd0877afbf043122

3 years agoUpdate ACL pin 090502887d87f52d28e98e90c0e17c582b9e63d6
Nikhil Raj [Fri, 15 May 2020 10:14:49 +0000 (11:14 +0100)]
Update ACL pin 090502887d87f52d28e98e90c0e17c582b9e63d6

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I8ba8dabba73b4682bc64c6719cf79f68383363b9

3 years agoMLCE-193 README and FAQ updates.
Colm Donelan [Thu, 14 May 2020 06:45:44 +0000 (07:45 +0100)]
MLCE-193 README and FAQ updates.

* Add FAQ entry about ArmNN and ComputeLibrary mismatch
* Add documentation reference to README that dynamically referrs to
  gh branch on GitHub.
* Update ONNXSupport.mb to fix broken links.

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I6390d87443c57cc43e27ea0a27f830f8fc25244d

3 years agoUpdate ACL pin to f401c74a963a1ce2e188cd20269650063c1d483c
Nikhil Raj [Thu, 14 May 2020 09:01:00 +0000 (10:01 +0100)]
Update ACL pin to f401c74a963a1ce2e188cd20269650063c1d483c

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Iad18bd7f845a06438b3f4ce80a6f27e959d6912e

3 years agoIVGCVSW-4777 Add QLstm serialization support
James Conroy [Wed, 13 May 2020 09:27:58 +0000 (10:27 +0100)]
IVGCVSW-4777 Add QLstm serialization support

* Adds serialization/deserilization for QLstm.
* 3 unit tests: basic, layer norm and advanced.

Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I97d825e06b0d4a1257713cdd71ff06afa10d4380

3 years agoIVGCVSW-4825 Set default value for --file-format argument in ExecuteNetwork
Finn Williams [Wed, 13 May 2020 16:19:14 +0000 (17:19 +0100)]
IVGCVSW-4825 Set default value for --file-format argument in ExecuteNetwork

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I834ef1ec7c2c7b5ece1c6d1cf3cfe5d856cde349

3 years agoIVGCVSW-4828 Call m_CounterDirectory.IsCounterRegistered in ProfilingService::IsCount...
Finn Williams [Wed, 13 May 2020 14:04:25 +0000 (15:04 +0100)]
IVGCVSW-4828 Call m_CounterDirectory.IsCounterRegistered in ProfilingService::IsCounterRegistered

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I3d207a74a147f1ca2ddae43c65c65ca7cdbe2368

3 years agoUpdate ACL pin to 4efe5dc9b39a87eface43e7468e08279976ae9ef
Teresa Charlin [Wed, 13 May 2020 14:16:12 +0000 (15:16 +0100)]
Update ACL pin to 4efe5dc9b39a87eface43e7468e08279976ae9ef

* change neon softmax axis to be int

Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I7a9486c11494ed4993abd683a50d6b4483f283e1

3 years agoIVGCVSW-4753 Refactor CL Softmax workload generalizing for different datatype
Teresa Charlin [Mon, 11 May 2020 15:10:38 +0000 (16:10 +0100)]
IVGCVSW-4753 Refactor CL Softmax workload generalizing for different datatype

    * Change ComputeSoftmaxAclAxis to work with int and uint axis

Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ibbfa9ec7e2f0416e6885673212a767419c871cca

3 years agoIVGCVSW-4737 Add check for CpuRef back-end before using it in tests
Finn Williams [Tue, 12 May 2020 12:37:06 +0000 (13:37 +0100)]
IVGCVSW-4737 Add check for CpuRef back-end before using it in tests

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Id7fbb7a39d2e9c7085636df44d4c8603a60cd4bf

3 years agoIVGCVSW-4794 Change ArmNN counters to report delta values
Finn Williams [Mon, 11 May 2020 13:38:02 +0000 (14:38 +0100)]
IVGCVSW-4794 Change ArmNN counters to report delta values

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I7957ee41fd700ee502cc14aa313a60664d4caec9

3 years agoIVGCVSW-4776 Warn when MIN_STATIC_GUID is returned from GenerateStaticId multiple...
Colm Donelan [Tue, 12 May 2020 16:17:59 +0000 (17:17 +0100)]
IVGCVSW-4776 Warn when MIN_STATIC_GUID is returned from GenerateStaticId multiple times.

* Modify StaticGuidGeneratorCollisionTest to identify cases where
  MIN_STATIC_GUID has been returned from GenerateStaticId more than once.
  Output a warning rather than an error as this can happen on 32bit
  systems.

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I47e9a1d9ff09c25da24abb4b0efe63d3000aa1c5

3 years agoMLCE-193 Add FAQ.md to ArmNN GitHub.
Colm Donelan [Fri, 8 May 2020 10:28:44 +0000 (11:28 +0100)]
MLCE-193 Add FAQ.md to ArmNN GitHub.

* Add basic FAQ.md file.
* Refer to the file from README.md

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I16b861cd5513bd5493e3d2d459b61378b36a6846

3 years agoIVGCVSW-4775 Centralizing definition of ThreadIdSize to fix MLCE-189
Colm Donelan [Tue, 12 May 2020 15:36:46 +0000 (16:36 +0100)]
IVGCVSW-4775 Centralizing definition of ThreadIdSize to fix MLCE-189

* Introduce a constant definition of the size of a POSIX thread ID.
* Update all code to use the new constant definition.
* Update all unit tests to use the new constant definition.

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I836ab1a77ed13f774e66fd7b425923c24b9a6dab

3 years agoIVGCVSW-4731 Move Packet.hpp to profiling/common/include
Finn Williams [Thu, 7 May 2020 09:38:15 +0000 (10:38 +0100)]
IVGCVSW-4731 Move Packet.hpp to profiling/common/include

 * Refactor profiling cmake to fix inconsistencies/issues with includes

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I0836762d4c72e25754a28162ec54c8e332422a02

3 years agoAdd test app to drive YoloV3 split model
Derek Lamberti [Tue, 28 Apr 2020 12:31:29 +0000 (13:31 +0100)]
Add test app to drive YoloV3 split model

Change-Id: I4877f170003d3a82f97311046c52571792ad735a
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
3 years agoUpdate ACL pin to 6f8b17dedb7b53b550e6210fd1c78c3a3e086271
Nikhil Raj [Mon, 11 May 2020 10:16:39 +0000 (11:16 +0100)]
Update ACL pin to 6f8b17dedb7b53b550e6210fd1c78c3a3e086271

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I7eba625193a2154b9376f8e21143864ff1884fc7

3 years agoUpdate ACL pin to 2886c757389c0ccca20a8689daf8180a730ecbc9
Nikhil Raj [Fri, 8 May 2020 09:19:25 +0000 (10:19 +0100)]
Update ACL pin to 2886c757389c0ccca20a8689daf8180a730ecbc9

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I9d214c3a3c439f3894105433657d5d4a69162b72

3 years agoIVGCVSW-4794 Fix ArmNN Counters incorrectly set to delta
Finn Williams [Fri, 8 May 2020 11:24:31 +0000 (12:24 +0100)]
IVGCVSW-4794 Fix ArmNN Counters incorrectly set to delta

 * Change all ArmNN counters to absolute

 * Fix bug in the DirectoryCaptureCommandHandler where the offsets of the
   m_CounterClass and m_CounterInterpolation were swapped

 * Fix bug in the DirectoryCaptureCommandHandler where the offsets of the
   m_DeviceUid and m_CounterSetUid were swapped

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: If396628306757088aa0acf739fb3e4f240b4394b

3 years agoIVGCVSW-4730 Remove the duplication of PIPE_MAGIC in the code base
Finn Williams [Wed, 29 Apr 2020 12:17:30 +0000 (13:17 +0100)]
IVGCVSW-4730 Remove the duplication of PIPE_MAGIC in the code base

Change-Id: I41c6e917b29eee33360758b6c5afe5dadba89093
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
3 years agoUpdate ACL pin to 2cfd3f754ec707c25f129c0026686035a0dcfc54
Nikhil Raj [Thu, 7 May 2020 10:07:28 +0000 (11:07 +0100)]
Update ACL pin to 2cfd3f754ec707c25f129c0026686035a0dcfc54

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Id3a693166ed61c37cb1627e68afd45d9496bb9a0

3 years agoUpdate ACL pin to 77b8859688c333bca35ebc8ca4d0b2652f480c4a
Nikhil Raj [Wed, 6 May 2020 08:56:30 +0000 (09:56 +0100)]
Update ACL pin to 77b8859688c333bca35ebc8ca4d0b2652f480c4a

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I72b0badee84aa04f866908eaf5155ee5855ed818

4 years agoMove PyArmNN test resources to external storage
Pavel Macenauer [Wed, 15 Apr 2020 13:28:29 +0000 (13:28 +0000)]
Move PyArmNN test resources to external storage

Change-Id: Ie2c94c8c58ed2964017bc049676ff32dc54c4ad0
Signed-off-by: Pavel Macenauer <pavel.macenauer@nxp.com>
4 years agoMLECO-763: fixes to PyArmNN failing unit tests
Nina Drozd [Tue, 5 May 2020 11:16:06 +0000 (12:16 +0100)]
MLECO-763: fixes to PyArmNN failing unit tests

Change-Id: Iac17cb6cd2136d5fd2f213561402f700329ac6c2
Signed-off-by: Nina Drozd <nina.drozd@arm.com>
4 years agoChanging print statement to logging
Richard Burton [Wed, 29 Apr 2020 19:07:09 +0000 (20:07 +0100)]
Changing print statement to logging

Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: I38a929ec6ba8c6df0a84122a3329d80f86b5c0d0

4 years agoUpdate ACL pin to 6f7585b21a13f4792ef1a55ac943997491ba8aec
Teresa Charlin [Tue, 5 May 2020 09:22:44 +0000 (10:22 +0100)]
Update ACL pin to 6f7585b21a13f4792ef1a55ac943997491ba8aec

Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I3051307b36a3cf1594585973326a5a98cff44b96

4 years agoIVGCVSW-4449 Add QLstm ref implementation
James Conroy [Wed, 29 Apr 2020 19:01:10 +0000 (20:01 +0100)]
IVGCVSW-4449 Add QLstm ref implementation

* Adds ref implemenation for new HAL 1.3
  operator, QLstm.
* Adds Layer and CreateWorkload unit tests.
* Adds WorkloadData validate for QLstm.

Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I8a721f07ff06105e6495a1a0561b9503aa8146dc

4 years agoUpdate ACL pin to 359c48eaf251cbb84b523e5a67a099c739482e6c
Kevin May [Fri, 1 May 2020 17:02:30 +0000 (18:02 +0100)]
Update ACL pin to 359c48eaf251cbb84b523e5a67a099c739482e6c

Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I2d7366a451c128bed15f825d37f2d5dda27f6600

4 years agoUpdate the CounterDirectory Packet offsets to be relative to the start of the table...
Finn Williams [Fri, 1 May 2020 12:25:55 +0000 (13:25 +0100)]
Update the CounterDirectory Packet offsets to be relative to the start of the table containing that offset

 * IVGCVSW-4763 Update the event pointer table offsets
 * IVGCVSW-4764 Update the event record block offsets
 * IVGCVSW-4765 Update the device name offset
 * IVGCVSW-4766 Update the counter set name offset
 * IVGCVSW-4767 Update device pointer table offsets
 * IVGCVSW-4768 Update the counter set pointer table offsets
 * IVGCVSW-4769 Update the category pointer table offsets

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I6e815ae5b16478fc5ec760caf704451fe5f84a29

4 years agoUpdate ACL pin to 8bb8de3772b37efb84959390582823488ab1b9e2
Nikhil Raj [Fri, 1 May 2020 09:05:33 +0000 (10:05 +0100)]
Update ACL pin to 8bb8de3772b37efb84959390582823488ab1b9e2

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I1d2b76f5473a0dec1e1f9695b28713bd366174c8

4 years agoIVGCVSW-4760 Change the offsets in the counter directory body_header to be from the...
Finn Williams [Thu, 30 Apr 2020 10:06:43 +0000 (11:06 +0100)]
IVGCVSW-4760 Change the offsets in the counter directory body_header to be from the start of the packet body

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Ie5ef5e410f3b06f1c80c7c5ea2057f5008cf09ed

4 years agoIVGCVSW-4753 Fix CpuAcc Hal 1.3 Softmax Failures
Sadik Armagan [Thu, 30 Apr 2020 10:39:37 +0000 (11:39 +0100)]
IVGCVSW-4753 Fix CpuAcc Hal 1.3 Softmax Failures

* Refactor Neon Softmax workload to accept supported data types

Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I54aa72d5cbb862cafcc1eabe48f6a00d61050cd7

4 years agoIVGCVSW-4732 Move NetworkSockets class needs to profiling/common
Finn Williams [Wed, 29 Apr 2020 11:00:24 +0000 (12:00 +0100)]
IVGCVSW-4732 Move NetworkSockets class needs to profiling/common

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Ie1bd73e6c1818277943e70eaf73b4d9a26da4758

4 years agoIVGCVSW-4749 Fix CpuAcc Hal 1.3 FullyConnected Failures
Kevin May [Wed, 29 Apr 2020 16:05:05 +0000 (17:05 +0100)]
IVGCVSW-4749 Fix CpuAcc Hal 1.3 FullyConnected Failures

* Use make_unique instead of MakeWorkloadHelper for FullyConnected Workload
* Add Neon Workload Tests for QAsymmU8 and QAsymmS8

Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: Ie1359af8b0a0bec1e058e20fc789c2520ebe64e8

4 years agoIVGCVSW-4686 Fix NNT GeneratedTests.Tests
Narumol Prangnawarat [Wed, 29 Apr 2020 11:58:17 +0000 (12:58 +0100)]
IVGCVSW-4686 Fix NNT GeneratedTests.Tests

 * Add bias dimension check for FullyConnected layer support

Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I66db5332069a606b5d1f6c10faee38760b26a8f8

4 years agoUpdate ACL pin to 06cf9339ed4b86d559c837dcb7c1c273ae6a35eb
Nikhil Raj [Wed, 29 Apr 2020 13:40:24 +0000 (14:40 +0100)]
Update ACL pin to 06cf9339ed4b86d559c837dcb7c1c273ae6a35eb

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I72824658df274b6645a91806aec2c2f16398cb08

4 years agoIVGCVSW-4186 Parse TfLite Exp and Split_V operators
Derek Lamberti [Tue, 28 Apr 2020 12:37:49 +0000 (13:37 +0100)]
IVGCVSW-4186 Parse TfLite Exp and Split_V operators

Change-Id: I0cac7ebfe22f2782af3198e6231cb37fa51bbd62
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
4 years agoIVGCVSW-4203 Add Exp support to Neon backend
Derek Lamberti [Tue, 28 Apr 2020 12:34:56 +0000 (13:34 +0100)]
IVGCVSW-4203 Add Exp support to Neon backend

Change-Id: Ief6b79297b66a57643b7c5d6c7d820c35024dd08
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
4 years agoPyArmNN example scripts
Pavel Macenauer [Wed, 15 Apr 2020 14:52:57 +0000 (14:52 +0000)]
PyArmNN example scripts

Change-Id: I2a5c3d291d19982c536c6b7341c01bb7c289871a
Signed-off-by: Pavel Macenauer <pavel.macenauer@nxp.com>
4 years agoIVGCVSW-4544 Update BuildGuideAndroidNDK.md guide
Nikhil Raj [Mon, 27 Apr 2020 10:40:59 +0000 (11:40 +0100)]
IVGCVSW-4544 Update BuildGuideAndroidNDK.md guide

 * Making updates to BuildGuideAndroidNDK.md with the android ndk-20b

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I06c027025d1036cd8d04f55abdff28bedbfbe24b

4 years agoUpdate ACL pin to 55c0c0c9559c08baed7f1c783404b83dff8c8e89
Nikhil Raj [Tue, 28 Apr 2020 11:48:42 +0000 (12:48 +0100)]
Update ACL pin to 55c0c0c9559c08baed7f1c783404b83dff8c8e89

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I954bd6fa298c72b9a8a2aaf8a3bc5ecbc3e5c719

4 years agoIVGCVSW-4594 Refactor the GatordMockService and GatordMockMain to extract a BasePipeS...
Finn Williams [Mon, 20 Apr 2020 20:21:07 +0000 (21:21 +0100)]
IVGCVSW-4594 Refactor the GatordMockService and GatordMockMain to extract a BasePipeServer

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I03c1b46104dadc491dba6075865e486f78aa60fa

4 years agoIVGCVSW-4595 Add IFileOnlyPacketHandlers to file only profiling connection
Jim Flynn [Sun, 29 Mar 2020 16:48:26 +0000 (17:48 +0100)]
IVGCVSW-4595 Add IFileOnlyPacketHandlers to file only profiling connection

Change-Id: Ib49a8cbbf323da4109cdab9750e6c4d276e484b7
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoIVGCVSW-4668 Add TENSOR_QUANT8_ASYMM_SIGNED data type support to CpuRef operators
Sadik Armagan [Fri, 17 Apr 2020 11:45:14 +0000 (12:45 +0100)]
IVGCVSW-4668 Add TENSOR_QUANT8_ASYMM_SIGNED data type support to CpuRef operators

Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I094125ba80699cc3cf5226bda6662a54e6caa988