platform/upstream/armnn.git
4 years agoUpdate ACL pin to 315a20eea78a1861a55ba9fa25e244b702384f01
Teresa Charlin [Tue, 11 Aug 2020 18:40:58 +0000 (19:40 +0100)]
Update ACL pin to 315a20eea78a1861a55ba9fa25e244b702384f01

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

4 years agoIVGCVSW-5203 Fix Dynamic Sample Backend build
Narumol Prangnawarat [Tue, 11 Aug 2020 10:24:25 +0000 (11:24 +0100)]
IVGCVSW-5203 Fix Dynamic Sample Backend build

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

4 years agoUpdate ACL pin to 996c777eea8acb8ce816552e77050dbf388f62be
Nikhil Raj [Tue, 11 Aug 2020 09:57:50 +0000 (10:57 +0100)]
Update ACL pin to 996c777eea8acb8ce816552e77050dbf388f62be

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

4 years agoIVGCVSW-5181 Updating to flatbuffers 1.12.0
Colm Donelan [Mon, 10 Aug 2020 10:00:29 +0000 (11:00 +0100)]
IVGCVSW-5181 Updating to flatbuffers 1.12.0

* Modify BuildGuideCrossCompilation.md to download flatbuffers 1.12.0
* Add FAQ entry about Flat Buffers on Ubuntu 20.04.

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

4 years agoUpdate ACL pin to 4aed4aafa2ddb0b6f4b76aef5008c8bb45599ea4
Teresa Charlin [Fri, 7 Aug 2020 15:00:38 +0000 (16:00 +0100)]
Update ACL pin to 4aed4aafa2ddb0b6f4b76aef5008c8bb45599ea4

 * Use axis=-1 in all softmax tests as ACL only accepts this dimension
   (the most right dimension, in ACL is 0 and in ArmNN is -1).

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

4 years agoIVGCVSW-5108 Allow Concat to use subtensor on x and y
Sadik Armagan [Tue, 4 Aug 2020 13:01:05 +0000 (14:01 +0100)]
IVGCVSW-5108 Allow Concat to use subtensor on x and y

* Updated ConcatLayer to allow using subtensors on x/y if padding is not required

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

4 years agoIVGCVSW-5013 Add TensorHandleFactory to Sample Dynamic Tensor
Teresa Charlin [Wed, 5 Aug 2020 16:43:54 +0000 (17:43 +0100)]
IVGCVSW-5013 Add TensorHandleFactory to Sample Dynamic Tensor

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

4 years agoIVGCVSW-5170 Do not resend timeline data if TimelineReporting is already enabled
Finn Williams [Fri, 7 Aug 2020 10:43:24 +0000 (11:43 +0100)]
IVGCVSW-5170 Do not resend timeline data if TimelineReporting is already enabled

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

4 years agoUpdate ACL pin to b972ae62dd877eb53e6ad56ee124cfbc89441e2d
Teresa Charlin [Thu, 6 Aug 2020 16:25:08 +0000 (17:25 +0100)]
Update ACL pin to b972ae62dd877eb53e6ad56ee124cfbc89441e2d

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

4 years agoIVGCVSW-5187, Github#432 Fix common/include/Packet.hpp not found in DynamicBackendSample
Jan Eilers [Thu, 6 Aug 2020 11:03:16 +0000 (12:03 +0100)]
IVGCVSW-5187, Github#432 Fix common/include/Packet.hpp not found in DynamicBackendSample

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Ib9c93c193abb89fb0e7d1a5a3c32f544372e1aeb

4 years agoUpdated ACL pin to 0499dff9293a86d3d53f72fed0a38b2823563674
Teresa Charlin [Wed, 5 Aug 2020 15:00:38 +0000 (16:00 +0100)]
Updated ACL pin to 0499dff9293a86d3d53f72fed0a38b2823563674

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

4 years agoUpdate ACL pin to ac4c03042d7a3020f87cea641e69aa38a684ddd7
Teresa Charlin [Tue, 4 Aug 2020 15:20:01 +0000 (16:20 +0100)]
Update ACL pin to ac4c03042d7a3020f87cea641e69aa38a684ddd7

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

4 years agoUpdate ACL pin to 3b64e3e78c166773fea680afb4829d886e90552d
Teresa Charlin [Fri, 31 Jul 2020 14:24:33 +0000 (15:24 +0100)]
Update ACL pin to 3b64e3e78c166773fea680afb4829d886e90552d

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

4 years agoIVGCVSW-4712 Fill layer datatype adjustments
Teresa Charlin [Wed, 29 Jul 2020 08:36:41 +0000 (09:36 +0100)]
IVGCVSW-4712 Fill layer datatype adjustments
* Input layer to be int32 instead of same type as output
* Enable float16 end to end tests
* Neon and Cl layer support check for backend

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

4 years agoIVGCVSW-5174 Fix i386 Floor and AbsTest
Francis Murtagh [Thu, 30 Jul 2020 17:03:40 +0000 (18:03 +0100)]
IVGCVSW-5174 Fix i386 Floor and AbsTest

 * Remove QSymm16 support for Floor to match NNApi and disable RefLayerTest
 * Return nullptr for floor workload if quantized type
 * Fix SimpleAbsTest incorrect output

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

4 years agoUpdate ACL to a179798501af2b3939f9282b2f03ef4f98471d81
Teresa Charlin [Wed, 29 Jul 2020 13:47:39 +0000 (14:47 +0100)]
Update ACL to a179798501af2b3939f9282b2f03ef4f98471d81

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

4 years agoIVGCVSW-4713 Add EndToEnd test for RANK
Teresa Charlin [Wed, 29 Jul 2020 13:29:20 +0000 (14:29 +0100)]
IVGCVSW-4713 Add EndToEnd test for RANK

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

4 years agoIVGCVSW-5171 Change library name to allow adbPush
Jim Flynn [Thu, 30 Jul 2020 10:47:02 +0000 (11:47 +0100)]
IVGCVSW-5171 Change library name to allow adbPush

Change-Id: Ifc79b433dfcc034822cfb538102b936987e382c8
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoIVGCVSW-5085 Updates to CL and NEON TensorHandleFactory
David Monahan [Tue, 21 Jul 2020 10:16:51 +0000 (11:16 +0100)]
IVGCVSW-5085 Updates to CL and NEON TensorHandleFactory

 * Update the CL and Neon TensorHandleFactories to not use SubTensors if
   Axis is on x or y

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

4 years agoIVGCVSW-5167 Use a generic axis in CL/Neon LogSoftmax and Softmax workload
Teresa Charlin [Tue, 28 Jul 2020 14:17:12 +0000 (15:17 +0100)]
IVGCVSW-5167 Use a generic axis in CL/Neon LogSoftmax and Softmax workload

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

4 years agoIVGCVSW-5166 Pull out the common and server side code into standalone libraries
Jim Flynn [Mon, 20 Jul 2020 15:57:44 +0000 (16:57 +0100)]
IVGCVSW-5166 Pull out the common and server side code into standalone libraries

Change-Id: I180f84c493a9b2be4b93b25d312ebdd9e71b1735
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoIVGCVSW-4980 Introduce InferAndValidate option to ExecuteNetwork for parsers
Sadik Armagan [Tue, 14 Jul 2020 09:02:22 +0000 (10:02 +0100)]
IVGCVSW-4980 Introduce InferAndValidate option to ExecuteNetwork for parsers

* Introduced infer-output-shape option to TfLiteParser in ExecuteNetwork app

!armnn:3591

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

4 years agoUpdate ACL pin 42e57362933b7fa04f9a86297fa75ed38c5e3c97
Teresa Charlin [Wed, 29 Jul 2020 11:06:40 +0000 (12:06 +0100)]
Update ACL pin 42e57362933b7fa04f9a86297fa75ed38c5e3c97

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

4 years agoIVGCVSW-4932 Introduce ShapeInferenceMethod to TfLite Parser
Sadik Armagan [Tue, 28 Jul 2020 09:42:13 +0000 (10:42 +0100)]
IVGCVSW-4932 Introduce ShapeInferenceMethod to TfLite Parser

* Introduced ShapeInferenceMethod::InferAndValidate to TfLiteParser
* Added unit tests

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

4 years agoGithub#433 Add HardSwish support to TfLiteParser
Jan Eilers [Tue, 28 Jul 2020 13:00:06 +0000 (14:00 +0100)]
Github#433 Add HardSwish support to TfLiteParser

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Ic476f8d80bba080ab459db9e6a59cbafd307d129

4 years agoIVGCVSW-4973 Enable QLstm projection unit tests on NEON
Teresa Charlin [Fri, 24 Jul 2020 13:59:07 +0000 (14:59 +0100)]
IVGCVSW-4973 Enable QLstm projection unit tests on NEON
 *Cosmetic changes on NeonQLstmWorkload

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

4 years agoIVGCVSW-4712 Add EndToEnd test for FILL
Teresa Charlin [Mon, 27 Jul 2020 10:27:19 +0000 (11:27 +0100)]
IVGCVSW-4712 Add EndToEnd test for FILL

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

4 years agoIVGCVSW-5079 Fix for Timeline decoder segfaults when given bad data
Kevin May [Tue, 28 Jul 2020 10:29:04 +0000 (11:29 +0100)]
IVGCVSW-5079 Fix for Timeline decoder segfaults when given bad data

* Check packet size/length in ReadSwTraceMessage
* Update existing Unit tests
* Add new Unit tests

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

4 years agoIVGCVSW-5011 Implement GetCapabilities in NeonTensorHandleFactory
Narumol Prangnawarat [Mon, 27 Jul 2020 14:52:13 +0000 (15:52 +0100)]
IVGCVSW-5011 Implement GetCapabilities in NeonTensorHandleFactory

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

4 years agoUpdate ACL pin to ad7515d231acb075a9585e52f257373b1a1b5d1f
Nikhil Raj [Mon, 27 Jul 2020 09:45:14 +0000 (10:45 +0100)]
Update ACL pin to ad7515d231acb075a9585e52f257373b1a1b5d1f

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

4 years agoIVGCVSW-5155 Update Arm NN API to allow for call to shape inference
Finn Williams [Fri, 3 Jul 2020 09:12:03 +0000 (10:12 +0100)]
IVGCVSW-5155 Update Arm NN API to allow for call to shape inference

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

4 years agoIVGCVSW-3896 Add CL LOG_SOFTMAX Workload
Teresa Charlin [Mon, 20 Jul 2020 13:23:02 +0000 (14:23 +0100)]
IVGCVSW-3896 Add CL LOG_SOFTMAX Workload

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

4 years agoUpdate ACL pin to 318c9f40770b2d1c06f8c0fe3f7929812503733e
Teresa Charlin [Fri, 24 Jul 2020 13:12:48 +0000 (14:12 +0100)]
Update ACL pin to 318c9f40770b2d1c06f8c0fe3f7929812503733e

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

4 years agoIVGCVSW-3897 Add NEON LOG_SOFTMAX Workload
Keith Davis [Thu, 2 Jul 2020 10:49:26 +0000 (11:49 +0100)]
IVGCVSW-3897 Add NEON LOG_SOFTMAX Workload

Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: I632b5ac7f188853de68e232e81568b3fca238d42

4 years agoIVGCVSW-4889/IVGCVSW-4890 CL/Neon UnitTests for align_corners & half_pixels
Teresa Charlin [Thu, 23 Jul 2020 16:59:00 +0000 (17:59 +0100)]
IVGCVSW-4889/IVGCVSW-4890 CL/Neon UnitTests for align_corners & half_pixels

 *Add more UnitTests to the reference implemenation.

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

4 years agoIVGCVSW-5010 Add GetCapabilities to ITensorHandleFactory
Narumol Prangnawarat [Wed, 22 Jul 2020 11:46:51 +0000 (12:46 +0100)]
IVGCVSW-5010 Add GetCapabilities to ITensorHandleFactory

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

4 years agoIVGCVSW-5118 Fix incorrect scoped profiling
Narumol Prangnawarat [Tue, 23 Jun 2020 10:45:56 +0000 (11:45 +0100)]
IVGCVSW-5118 Fix incorrect scoped profiling

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

4 years agoIVGCVSW-5165 add the fmt library to third-party folder
Jim Flynn [Thu, 23 Jul 2020 10:20:59 +0000 (11:20 +0100)]
IVGCVSW-5165 add the fmt library to third-party folder

Change-Id: I5519ce6c7811152a6b534898b9fdbaf5214c28d5
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoUpdate ACL pin to aa95ddc2abb7cef0b2edd03f7c4c9d9c6b9d7cf4
Teresa Charlin [Thu, 16 Jul 2020 11:44:16 +0000 (12:44 +0100)]
Update ACL pin to aa95ddc2abb7cef0b2edd03f7c4c9d9c6b9d7cf4

IVGCVSW-5136 Adapt to change in ConcatenateLayer in ACL

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

4 years agoIVGCVSW-5078 Fix segmentation fault on Yolo v3 big app
Narumol Prangnawarat [Tue, 21 Jul 2020 09:21:19 +0000 (10:21 +0100)]
IVGCVSW-5078 Fix segmentation fault on Yolo v3 big app

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

4 years agoIVGCVSW-5104 Fix OS-X GetCurrentThreadId build error
Jim Flynn [Thu, 16 Jul 2020 10:23:45 +0000 (11:23 +0100)]
IVGCVSW-5104 Fix OS-X GetCurrentThreadId build error

Change-Id: Ic54b8d387d8507209e8777d25dcd2c4bc1641bf4
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoAdd FAQ entries about IVGCVSW-4861 and GitHub #402
Jim Flynn [Wed, 15 Jul 2020 10:45:37 +0000 (11:45 +0100)]
Add FAQ entries about IVGCVSW-4861 and GitHub #402

* IVGCVSW-4861 relates to unit test errors with combinations of GCC and
  pthreads in an armv7 environment.
* GitHub #402 relates to compiling Boost in a OS-X environment.

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Change-Id: I724767f8f897578b4dd3242f56e28cab11966296

4 years agoIVGCVSW-5080 Fixing OOB unit test failures in GatordMockTests.
Colm Donelan [Tue, 14 Jul 2020 20:23:13 +0000 (21:23 +0100)]
IVGCVSW-5080 Fixing OOB unit test failures in GatordMockTests.

* Adding CHILD, EXECUTION_OF and PROCESS_ID to CheckTimelinePackets in
  GatorDMockEndToEnd.
* Adding an index to avoid updating label offsets in CheckTimelinePackets.
* Updating relationship size and label size in
  GatorDMockTimeLineActivation.

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

4 years agoIVGCVSW-5101 Add a SOL/EOL and a process ID label to Network
Jim Flynn [Tue, 14 Jul 2020 08:50:59 +0000 (09:50 +0100)]
IVGCVSW-5101 Add a SOL/EOL and a process ID label to Network

Change-Id: I6261f46404a3aab5c069bca40586994d31d26fe8
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoMake it build on MACOSX
Jim Flynn [Tue, 14 Jul 2020 13:26:27 +0000 (14:26 +0100)]
Make it build on MACOSX

Still need to explicitly defined
-DCMAKE_CXX_FLAGS=--std=c++14
which that flags should goes into CMakefile.txt

JF: Fixed merge failure by removing Filesystem.cpp
    and updated the copyright headers to new standard

Change-Id: I6d0886bd86bc1ddb593028194852551d43c77745
Signed-off-by: Keith Mok <ek9852@gmail.com>
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoIVGCVSW-4847, Github #393 Fix TfLite reshape operator
Jan Eilers [Mon, 13 Jul 2020 12:40:24 +0000 (13:40 +0100)]
IVGCVSW-4847, Github #393 Fix TfLite reshape operator

 * Change order of reading target shape. Checks built-in option first
   then input.

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Iddc39188ebfb7f71e33c35847de7506a02d807af

4 years agoFixing compile error on Ubuntu 16.04
Colm Donelan [Mon, 13 Jul 2020 19:23:58 +0000 (20:23 +0100)]
Fixing compile error on Ubuntu 16.04

* gcc-arm-linux-gnueabihf/xenial,now 4:5.3.1-1ubuntu1 amd64 complains
  about error: array must be initialized with a brace-enclosed initializer
  in include/armnn/Tensor.hpp:122:81.

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

4 years agoIVGCVSW-5076 Correct Profiling Stream Metadata packet revision table
Jim Flynn [Thu, 9 Jul 2020 12:48:16 +0000 (13:48 +0100)]
IVGCVSW-5076 Correct Profiling Stream Metadata packet revision table

Change-Id: Ic3f8637642d3f3a5925f5b82e3729b3b654a7f3e
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoIVGCVSW-5078 Fix segmentation fault on Yolo V3 Big App
Narumol Prangnawarat [Fri, 10 Jul 2020 16:50:53 +0000 (17:50 +0100)]
IVGCVSW-5078 Fix segmentation fault on Yolo V3 Big App

 * Register TensorHandleFactories when create Workload Factory

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

4 years agoIVGCVSW-4929 Implement ShapeInferenceMethod in all Layers
Finn Williams [Fri, 3 Jul 2020 09:12:03 +0000 (10:12 +0100)]
IVGCVSW-4929 Implement ShapeInferenceMethod in all Layers

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

4 years agoRemove unnecessary header file
David Monahan [Fri, 10 Jul 2020 15:54:58 +0000 (16:54 +0100)]
Remove unnecessary header file

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

4 years agoGithub #388 Remove TfLite Concat quant validation
James Conroy [Fri, 10 Jul 2020 12:01:01 +0000 (13:01 +0100)]
Github #388 Remove TfLite Concat quant validation

* Matching quant validation was added to TfLite
  parser as per TfLite documentation.
* Removing this validation for Concat and Pad as
  it is causing some nightly model test failures.

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

4 years agoIVGCVSW-5095 Make timeline report the Linux Thread ID not the pthread ID
Jim Flynn [Thu, 9 Jul 2020 06:28:37 +0000 (07:28 +0100)]
IVGCVSW-5095 Make timeline report the Linux Thread ID not the pthread ID

Change-Id: Id69519fd9ef57716de4e389ed4156710a904c701
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoUpdate ACL pin to 6b6a16faa9375365d444b2a3998381b22cd6cd5b
Nikhil Raj [Thu, 9 Jul 2020 10:19:53 +0000 (11:19 +0100)]
Update ACL pin to 6b6a16faa9375365d444b2a3998381b22cd6cd5b

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

4 years agoIVGCVSW-4487 Remove boot/dll.hpp from dynamic backends test.
Colm Donelan [Sun, 28 Jun 2020 07:16:46 +0000 (08:16 +0100)]
IVGCVSW-4487 Remove boot/dll.hpp from dynamic backends test.

* Replace the call to boost::dll::program_location() with a cmake
  variable set at runtime. PROJECT_BINARY_DIR appears to fit the bill.
* Fall back to a boost custom CLI to allow it to be user specified.
* Add a FAQ entry describing potential problems.
* Adding flexibility to GetSharedObjectsTestImpl to cope with
  sym links in file systems.

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

4 years agoGitHub #388 Add matching quant checks in TfLite parser
James Conroy [Wed, 24 Jun 2020 14:39:55 +0000 (15:39 +0100)]
GitHub #388 Add matching quant checks in TfLite parser

* Adds checks for matching tensor quantization info
  as per TfLite documentation.
* Adds missing layer nullptr assert checks.

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

4 years agoIVGCVSW-5005 Fix Deprecated Functions in CL/NEON Resize Workload
David Monahan [Tue, 30 Jun 2020 14:57:56 +0000 (15:57 +0100)]
IVGCVSW-5005 Fix Deprecated Functions in CL/NEON Resize Workload

 * Update CL pin to f3ad9513dd46fca1d6c5e4550286480fdbaba056

IVGCVSW-5005: Fix Deprecated Functions in CL/NEON Resize Workload
 * Add missing virtual function to NeonIntercepterScheduler
 * Update CL/Neon Resize Workloads to use ScaleKernelInfo
 * Update CL/Neon Resize workloads to set correct Sampling Policy for Half Pixels

IVGCVSW-4981: Change CL/NEON Softmax axis value
 * Default value is now 0

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

4 years agoIVGCVSW-5087 NNT zero sized failing after TensorShape refactor
Teresa Charlin [Wed, 8 Jul 2020 10:12:47 +0000 (11:12 +0100)]
IVGCVSW-5087 NNT zero sized failing after TensorShape refactor

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

4 years agoRemove new occurence of boost::polymorphic_downcast
Jan Eilers [Wed, 1 Jul 2020 15:35:35 +0000 (16:35 +0100)]
Remove new occurence of boost::polymorphic_downcast

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Id9446c30f6a31c5064bab08b40805e463700072c

4 years agoIVGCVSW-4624 Add a RANK Reference Implementation
Finn Williams [Wed, 10 Jun 2020 14:53:46 +0000 (15:53 +0100)]
IVGCVSW-4624 Add a RANK Reference Implementation

 * Add Rank front end
 * Add Rank reference implementation
 * Add Rank serialization support
 * Add Scalar serialization support

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

4 years agoGitHub #418 AddBroadcastReshapeLayer can cause inputs to be connected incorrectly
Mike Kelly [Mon, 6 Jul 2020 18:24:15 +0000 (19:24 +0100)]
GitHub #418 AddBroadcastReshapeLayer can cause inputs to be connected incorrectly

 * Fixed issue where AddBroadcastReshapeLayer would always connect the Reshaped input to the first input slot and the other input to the first input slot.

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

4 years agoIVGCVSW-4770 Fix segmentation fault in FileOnlyProfilingDecoratorTests
Jan Eilers [Wed, 1 Jul 2020 17:09:39 +0000 (18:09 +0100)]
IVGCVSW-4770 Fix segmentation fault in FileOnlyProfilingDecoratorTests

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I5725aa418b50fc14ce4e6638fe29a74d762cc304

4 years agoIVGCVSW-4919 Strided Slice 0 Dimension Tensor Fix
Ryan OShea [Mon, 6 Jul 2020 10:45:50 +0000 (11:45 +0100)]
IVGCVSW-4919 Strided Slice 0 Dimension Tensor Fix

 * Add check Axis' shrunk to 0 dimensions

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

4 years agoIVGCVSW-4920 Invalid Negative Stride fix
Ryan OShea [Fri, 3 Jul 2020 10:40:12 +0000 (11:40 +0100)]
IVGCVSW-4920 Invalid Negative Stride fix

 * Add check for negative stride with ShrinkAxisMask

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

4 years agoIVGCVSW-4988 Add handling output shape parameter to TransposeConvolution2d
Colm Donelan [Fri, 3 Jul 2020 14:54:28 +0000 (15:54 +0100)]
IVGCVSW-4988 Add handling output shape parameter to TransposeConvolution2d

* Add m_OutputShape and m_OutputShapeEnabled to
  TransposeConvolution2dDescriptor.
* Update TfLite parser to populate m_OutputShape if found in the model.
  Handle both Signed32 from tflite files and QAsymmU8 from test fixtures.
* Update TransposeConvolution2dLayer to use m_OutputShape instead of
  InferOutputShapes if specified.

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

4 years agoIVGCVSW-5020 Refactor TensorShape to host dynamic tensors and scalar values
Teresa Charlin [Tue, 23 Jun 2020 17:30:57 +0000 (18:30 +0100)]
IVGCVSW-5020 Refactor TensorShape to host dynamic tensors and scalar values

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

4 years agoRefactor: Remove need of OutgoingCaptureFile in JSONTimelineDecoder
Jan Eilers [Wed, 1 Jul 2020 14:37:50 +0000 (15:37 +0100)]
Refactor: Remove need of OutgoingCaptureFile in JSONTimelineDecoder

 * moves ownership of the output file to caller of TimelineDecoder
 * by using ostream the output can be printed to std::cout or any other file stream
 * updated unit test accordingly

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Iaa8994e9997c674c1a026a65fcbd1ab8e3832d3e

4 years agoIVGCVSW-4903 Connect axis parameter in Gather from android to ACL.
Teresa Charlin [Mon, 29 Jun 2020 15:27:03 +0000 (16:27 +0100)]
IVGCVSW-4903 Connect axis parameter in Gather from android to ACL.

!android-nn-driver:3302

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

4 years agoIVGCVSW-5007 Implement an Int32 reference Elementwise workload
Finn Williams [Mon, 22 Jun 2020 14:58:32 +0000 (15:58 +0100)]
IVGCVSW-5007 Implement an Int32 reference Elementwise workload

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

4 years agoIVGCVSW-4487 Remove boost::filesystem
Francis Murtagh [Mon, 29 Jun 2020 10:50:01 +0000 (11:50 +0100)]
IVGCVSW-4487 Remove boost::filesystem

 * Replace filesystem::path
 * Replace filesystem::exists
 * Replace filesystem::is_directory
 * Replace filesystem::directory_iterator
 * Replace filesystem::filesystem_error exception
 * Replace filesystem::temp_directory_path
 * Replace filesystem::unique path
 * Replace filesystem::ofstream with std::ofstream
 * Replace filesystem::remove
 * Replace filesystem::is_regular_file
 * Replace boost::optional with armnn::Optional in touched files
 * Remove some superfluous includes
 * Update build guides, GlobalConfig.cmake and CMakeLists.txt
 * Remove redundant armnnUtils::Filesystem::Remove function.
 * Remove redundant armnnUtils::Filesystem::GetFileSize function.

Temporarily adding back Boost::filesystem to enable Boost::dll.

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

4 years agoIVGCVSW-5036 Do not allocate memory when import is enabled
Narumol Prangnawarat [Fri, 26 Jun 2020 10:00:21 +0000 (11:00 +0100)]
IVGCVSW-5036 Do not allocate memory when import is enabled

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

4 years agoIVGCVSW-5021 Fix failure in SplitV
Jan Eilers [Mon, 29 Jun 2020 15:48:44 +0000 (16:48 +0100)]
IVGCVSW-5021 Fix failure in SplitV

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I587f601d3e1b9ea11fbc3dc379f24c5ebdcf3cf8

4 years agoIVGCVSW-4171 Makes DumpOutgoingValidFileEndToEnd test work reliably
Jim Flynn [Wed, 24 Jun 2020 10:11:20 +0000 (11:11 +0100)]
IVGCVSW-4171 Makes DumpOutgoingValidFileEndToEnd test work reliably

Change-Id: I51f244467a7b562344f04b910fe5be5e2ec0e3dc
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoIVGCVSW-4910 Productise YoloV3 Big App
Jan Eilers [Thu, 25 Jun 2020 12:18:47 +0000 (13:18 +0100)]
IVGCVSW-4910 Productise YoloV3 Big App

 * use cxxopts to process program arguments
 * remove hard coded paths for models
 * added options for preferred backends for each model

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I74a89577e15c4828e8b522bbf1f65f1895cdd657

4 years agoIVGCVSW-5049 Terminate Timeline Packet Processing on Error
Jim Flynn [Fri, 26 Jun 2020 12:52:38 +0000 (13:52 +0100)]
IVGCVSW-5049 Terminate Timeline Packet Processing on Error

Change-Id: I2a339da913f18f91734967de2b4a0baa9e2df19b
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoIVGCVSW-4919 Mean VTS/NNT Failures
Ryan OShea [Fri, 26 Jun 2020 13:40:29 +0000 (14:40 +0100)]
IVGCVSW-4919 Mean VTS/NNT Failures

 * Allow output to be reduced to scalar

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

4 years agoIVGCVSW-4928 Introduce "ShapeInferenceMethod" Option.
Teresa Charlin [Tue, 9 Jun 2020 17:00:20 +0000 (18:00 +0100)]
IVGCVSW-4928 Introduce "ShapeInferenceMethod" Option.

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

4 years agoUpdate comment message on DynamicSample example
Narumol Prangnawarat [Thu, 25 Jun 2020 10:53:50 +0000 (11:53 +0100)]
Update comment message on DynamicSample example

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

4 years agoIVGCVSW-4982 Fix failure in GatordMockTests
Jan Eilers [Thu, 25 Jun 2020 11:00:38 +0000 (12:00 +0100)]
IVGCVSW-4982 Fix failure in GatordMockTests

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Idb073a71d9b7f9ad5430fcb67e40b793635ed892

4 years agoMinor improvement of inference profiling
Derek Lamberti [Fri, 19 Jun 2020 13:33:05 +0000 (14:33 +0100)]
Minor improvement of inference profiling

* Start inference profiling at the actual beginning
* Add profiling events for EnqueueInputs and EnqueueOutputs
* Add profiling event for working memory allocation
* Refactor Execute body to remove code duplication
* forward arguments to constructors rather than copy

Change-Id: Iacab85f0a02e88e2423885f86f97e4dba4037319
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
4 years agoIVGCVSW-4770 Fix Segmentation fault while building ArmNN
Jim Flynn [Wed, 24 Jun 2020 09:32:43 +0000 (10:32 +0100)]
IVGCVSW-4770 Fix Segmentation fault while building ArmNN

Change-Id: Ic88c1f12671a0add773a400c6f6880c35ff24a3e
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoIVGCVSW-4621 Add CL FILL Workload
Sadik Armagan [Wed, 24 Jun 2020 10:42:20 +0000 (11:42 +0100)]
IVGCVSW-4621 Add CL FILL Workload

* Add CL workload for Fill Operator
* Enabled Fill operator tests on CL
* CLFill function does not have validate() function yet
  IsLayerSupported() function return true at the moment
* Enabled int32 to tests on backends

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

4 years agoIVGCVSW-4487 Adds ghc::filesystem to third-party
Jan Eilers [Tue, 23 Jun 2020 13:16:04 +0000 (14:16 +0100)]
IVGCVSW-4487 Adds ghc::filesystem to third-party

 * as replacement for boost::filesystem
 * added to cmake
 * added to TPIP in readme.md

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I0098e490e8597a9bae4781cacba8e19f8a50d1f0

4 years agoIVGCVSW-4622 Add NEON FILL Workload
Sadik Armagan [Tue, 23 Jun 2020 15:22:23 +0000 (16:22 +0100)]
IVGCVSW-4622 Add NEON FILL Workload

* Added Neon workload for Fill Operator
* Enabled Fill operator tests on Neon
* NEFill function does not have validate() function yet
  IsLayerSupported() function return true at the moment
* Added INT32 supported type for CpuRef

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

4 years agoFix deserializer output binding tensorshape logic
Josh Minor [Wed, 17 Jun 2020 18:56:20 +0000 (13:56 -0500)]
Fix deserializer output binding tensorshape logic

Signed-off-by: Josh Minor <josh.minor@arm.com>
Change-Id: I090733fb7b04ac6841a802eeec0fa663f72da9a2

4 years agoIVGCVSW-4924 Fix edge case for transposeConv2d shape inference
Finn Williams [Fri, 19 Jun 2020 15:26:11 +0000 (16:26 +0100)]
IVGCVSW-4924 Fix edge case for transposeConv2d shape inference

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

4 years agoIVGCVSW-5022 Fix master intermittent failure by providing surge buffer capacity
Jim Flynn [Mon, 22 Jun 2020 19:41:43 +0000 (20:41 +0100)]
IVGCVSW-5022 Fix master intermittent failure by providing surge buffer capacity

Change-Id: I028aec48d89d7348836223029aa1e8c315f160fa
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoRemove per-channel quantization support in ref fully connected
Jan Eilers [Mon, 15 Jun 2020 10:43:03 +0000 (11:43 +0100)]
Remove per-channel quantization support in ref fully connected

 * was added accidentally

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I332036ffd35868b0fe1226aba5522af3b91d25da

4 years agoIVGCVSW-4707 - Add AlignCorners and HalfPixelCenters to Resize
David Monahan [Fri, 19 Jun 2020 15:43:48 +0000 (16:43 +0100)]
IVGCVSW-4707 - Add AlignCorners and HalfPixelCenters to Resize

 * Added AlignCorners and HalfPixelCenters Parameters to Resize
 * Added Unit Tests

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

4 years agoIVGCVSW-4488 Adding cxxopts to third-party
Jan Eilers [Fri, 19 Jun 2020 10:47:21 +0000 (11:47 +0100)]
IVGCVSW-4488 Adding cxxopts to third-party

 * as alternative for boost::program_options
 * added to cmake
 * added to TPIP list in readme.md

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Id8c6a12c988196cdac55650bc4761c08a39b3abb

4 years agoIVGCVSW-4909 Add Quantizer Support for FILL operator
Keith Davis [Thu, 4 Jun 2020 15:34:23 +0000 (16:34 +0100)]
IVGCVSW-4909 Add Quantizer Support for FILL operator

Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: I7ac9600b8956b4fb875f2f7efa061f8dac73d53c

4 years agoIVGCVSW-4908 Add Serializer/Deserializer Support for FILL operator
Keith Davis [Thu, 4 Jun 2020 15:34:23 +0000 (16:34 +0100)]
IVGCVSW-4908 Add Serializer/Deserializer Support for FILL operator

Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: Icae26505d0e378ee5ffb3e92b35d78d48b369d2e

4 years agoIVGCVSW-4900 Update Timeline Directory Message with new fields
Jim Flynn [Wed, 27 May 2020 16:05:21 +0000 (17:05 +0100)]
IVGCVSW-4900 Update Timeline Directory Message with new fields

Change-Id: I68097e176f7471a18498492b50339e68004dddd5
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoRevert "IVGCVSW-3726 Upload ArmNN Doxygen files"
Jan Eilers [Tue, 16 Jun 2020 11:41:49 +0000 (12:41 +0100)]
Revert "IVGCVSW-3726 Upload ArmNN Doxygen files"

This reverts commit de36e4a9c299028e792c3a5bd99ad0816d806077.

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Idbf20c12ea07583ca552d7cc7fb517fbadc73fff

4 years agoMLCE-189 Adding more checks around dynamic backend directory paths.
Colm Donelan [Tue, 16 Jun 2020 16:14:51 +0000 (17:14 +0100)]
MLCE-189 Adding more checks around dynamic backend directory paths.

* It appears that the customer ends up with an invalid value of
  sharedObjectPath in GetBasePath. Inserting an explicit check for
  it.
* Also checking the final derived path for the value dynamic backend
  shared object.

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

4 years agoUpdate ACL pin to 980a9168b81d778f4902973b4920b54c103907e0
Nikhil Raj [Tue, 16 Jun 2020 10:03:02 +0000 (11:03 +0100)]
Update ACL pin to 980a9168b81d778f4902973b4920b54c103907e0

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

4 years agoIVGCVSW-4620 Add Fill Reference Implementation
Ryan OShea [Wed, 10 Jun 2020 10:33:37 +0000 (11:33 +0100)]
IVGCVSW-4620 Add Fill Reference Implementation

 * Add Fill Reference Implementation
 * Refactor FP converter to use static_cast

Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com>
Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: I532e2f982981d047690755fac43a0e9cf8b17dcd

4 years agoCleaning up unit test GetProfilingGuidGenerator.
Colm Donelan [Thu, 11 Jun 2020 14:35:51 +0000 (15:35 +0100)]
Cleaning up unit test GetProfilingGuidGenerator.

* Removing duplicate check of backendProfilingIface
* Removing BOOST_CHECK(firstGuid) which appears to cause
  problems in v7 environments.

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

4 years agoIVGCVSW-4906 Add front-end support for FILL operator
Ryan OShea [Fri, 5 Jun 2020 16:17:06 +0000 (17:17 +0100)]
IVGCVSW-4906 Add front-end support for FILL operator

 * Added new fill layer
 * Added visitor tests

Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com>
Change-Id: Iea677014866b4f2d514004623f59ee83f3c0eef8
Signed-off-by: Keith Davis <keith.davis@arm.com>
4 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>
Change-Id: I202ca6819d40a47159b4ac8f2847958f945666c2