platform/upstream/armnn.git
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>
4 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

4 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

4 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

4 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

4 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

4 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>
4 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

4 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>
4 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

4 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

4 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

4 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

4 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>
4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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>
4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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>
4 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

4 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

4 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

4 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>
4 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

4 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

4 years agoIVGCVSW-4728 Attempt to fix test failures
Éanna Ó Catháin [Mon, 27 Apr 2020 11:54:11 +0000 (12:54 +0100)]
IVGCVSW-4728 Attempt to fix test failures

Change-Id: I0e0d4a8338c7df4f09518d9f84605b3cc002f2b0
Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
4 years agoMLCE-190: Neon and CL Constant Workloads do not support newer DataTypes
Mike Kelly [Mon, 27 Apr 2020 08:55:40 +0000 (09:55 +0100)]
MLCE-190: Neon and CL Constant Workloads do not support newer DataTypes

 * Added support for QASYMM8_SIGNED, QSYMM16, QSYMM8 and QSYMM8_PER_CHANNEL to Neon and CL backends
 * Added unit tests to Neon, CL and Ref backends

Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I4c726b6d86b4d75abedd130dcea372d1e82be5c2

4 years agoIVGCVSW-4722 Add missing m_TimelineEnabled bool to ConnectionAcknowledgedCommandHandler
Finn Williams [Thu, 23 Apr 2020 16:55:18 +0000 (17:55 +0100)]
IVGCVSW-4722 Add missing m_TimelineEnabled bool to ConnectionAcknowledgedCommandHandler

 * Added timeline bool to ConnectionAcknowledgedCommandHandler
 * Added option to enable timeline profiling in ExecuteNetwork
 * Added CommandHandler stub to allow gatordMock to ignore packets

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

4 years agoMLECO-763: profiling helper updates for EthosN profiling
Nina Drozd [Thu, 23 Apr 2020 15:47:14 +0000 (16:47 +0100)]
MLECO-763: profiling helper updates for EthosN profiling

* new internal get_ethosn_profiling_data, reads trace.json file
* existing get_profiling_data updated to add ethosN profiling data

Change-Id: I76d4755736c4ba4d597f8196fee1ba9df32b90bb
Signed-off-by: Nina Drozd <nina.drozd@arm.com>
4 years agoAdded new DataTypes to Serializer
Mike Kelly [Fri, 24 Apr 2020 14:44:01 +0000 (15:44 +0100)]
Added new DataTypes to Serializer

 * Added support for BFloat16 and QAsymmS8 to Serializr.

Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I481af26d5758190ec2e5cd9f9d232d72bcb7acbd

4 years agoIVGCVSW-4686 Fix NNT GeneratedTests Abs_int32
Kevin May [Fri, 24 Apr 2020 08:42:31 +0000 (09:42 +0100)]
IVGCVSW-4686 Fix NNT GeneratedTests Abs_int32

* Add Signed32 to WorkloadData for AbsQueueDescriptor
* Add missing supported tests to Ref and Neon

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

4 years agoUpdate ACL pin to 2b84be544e4a27f7e8e80827e9c85c8f0d58b4ce
Nikhil Raj [Fri, 24 Apr 2020 08:55:27 +0000 (09:55 +0100)]
Update ACL pin to 2b84be544e4a27f7e8e80827e9c85c8f0d58b4ce

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

4 years agoIVGCVSW-4721 Make build of timelineDecoder.so depend only on BUILD_TIMELINE_DECODER
Jim Flynn [Thu, 23 Apr 2020 16:56:37 +0000 (17:56 +0100)]
IVGCVSW-4721 Make build of timelineDecoder.so depend only on BUILD_TIMELINE_DECODER

Change-Id: I49446f9fa8327a51bfc934dbb2d969a8e7367156
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoIVGCVSW-4496 Updated ONNX documentation
Ryan OShea [Thu, 23 Apr 2020 14:45:04 +0000 (15:45 +0100)]
IVGCVSW-4496 Updated ONNX documentation

 - Updated supported operators

Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com>
Change-Id: I9b67eed3ac6dd910313acddb5673b5767ca19ac4

4 years agoUpdate ACL pin to b70770ee65ccce71a74e73df55fcaeac3cb9d0d7
Nikhil Raj [Thu, 23 Apr 2020 11:02:02 +0000 (12:02 +0100)]
Update ACL pin to b70770ee65ccce71a74e73df55fcaeac3cb9d0d7

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

4 years agoIVGCVSW-4496 Add Flatten support to ONNX parser
Ryan OShea [Wed, 22 Apr 2020 15:37:29 +0000 (16:37 +0100)]
IVGCVSW-4496 Add Flatten support to ONNX parser

 * Added ParseFlatten method
 * Added Read int64 attribute method
 - Modified ComputeReshapeInfo method
 - Modified ParseReshape
 * Added unit tests
 - Reorganised OnnxParser.cpp/.hpp

Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com>
Change-Id: I8a9553438dd1e8c702d821b093587e0074c027d5

4 years agoIVGCVSW-4708 Add command to send activate/deactivate timeline packets to garodmock...
Finn Williams [Wed, 22 Apr 2020 12:35:35 +0000 (13:35 +0100)]
IVGCVSW-4708 Add command to send activate/deactivate timeline packets to garodmock CommandFileParser

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

4 years agoIVGCVSW-4719 Remove possible zeros from SendStreamMetaDataPacket offsets
Finn Williams [Wed, 22 Apr 2020 11:27:37 +0000 (12:27 +0100)]
IVGCVSW-4719 Remove possible zeros from SendStreamMetaDataPacket offsets

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

4 years agoIVGCVSW-4718 Fix failing Execute Network Tests
David Monahan [Wed, 22 Apr 2020 10:28:23 +0000 (11:28 +0100)]
IVGCVSW-4718 Fix failing Execute Network Tests

 * Fix for StringTokenizer utility method to match Boost::Split implementation

Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: I50e047ff72191da9aa06b71370c4354c5a78eb9b

4 years agoIVGCVSW-4675 Fixes for VTS 1.3 GeneratedTest.Test/armnn_resize*
David Monahan [Mon, 20 Apr 2020 15:14:54 +0000 (16:14 +0100)]
IVGCVSW-4675 Fixes for VTS 1.3 GeneratedTest.Test/armnn_resize*

 * Adding HalfPixelCenters parameter to Resize Descriptor

!android-nn-driver:3061

Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: I2713125525f434f5abe5a87183723e482df27a43

4 years agoUse X macro for the enum class LayerType
Laurent Carlier [Thu, 16 Apr 2020 11:02:05 +0000 (12:02 +0100)]
Use X macro for the enum class LayerType

In order to improve the maintability of the LayerType enum,
it is easier to use the X macro technique https://en.wikipedia.org/wiki/X_Macro
Thanks to that, the pre-processor can generate some code based on the
list provided by the LIST_OF_LAYER_TYPE macro

Signed-off-by: Laurent Carlier <laurent.carlier@arm.com>
Change-Id: I3a6049abfb1e964fe0bf32aa4e26bec4e29a77de

4 years agoIVGCVSW-4513 Remove boost/algorithm/string *
David Monahan [Thu, 16 Apr 2020 09:01:56 +0000 (10:01 +0100)]
IVGCVSW-4513 Remove boost/algorithm/string *

 * Removed split, classification, trim, string, join, contains
 * Added StringUtils.hpp to replace the removed Boost String functionality

Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: I8aa938dc3942cb65c512cccb2c069da66aa24668

4 years agoUpdate ACL pin to d1d7722cfc5ee130115d8d195068a98b16102a21
Nikhil Raj [Mon, 20 Apr 2020 08:44:23 +0000 (09:44 +0100)]
Update ACL pin to d1d7722cfc5ee130115d8d195068a98b16102a21

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

4 years agoUpdate ACL pin to b7f4a95c4bf27b4507e5b3b9278c249b1feefe36
Nikhil Raj [Fri, 17 Apr 2020 08:57:28 +0000 (09:57 +0100)]
Update ACL pin to b7f4a95c4bf27b4507e5b3b9278c249b1feefe36

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

4 years agoIVGCVSW-4704 Update links to how to guides in our README.md
Nikhil Raj [Thu, 16 Apr 2020 16:45:48 +0000 (17:45 +0100)]
IVGCVSW-4704 Update links to how to guides in our README.md

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

4 years agoIVGCVSW-4701 Make the GUIDGenerator thread safe
Finn Williams [Thu, 16 Apr 2020 15:57:59 +0000 (16:57 +0100)]
IVGCVSW-4701 Make the GUIDGenerator thread safe

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

4 years agoIVGCVSW-4699 Force timestamps to always be in nanoseconds
Finn Williams [Thu, 16 Apr 2020 14:32:28 +0000 (15:32 +0100)]
IVGCVSW-4699 Force timestamps to always be in nanoseconds

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