aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-07MLCE-689 Add Delegate cross compile to x86 DockerfileJames Conroy
* Change TF version from 2.5.1 to 2.5.0, get using newly added script get_tensorflow.sh. * Use Cmake 3.19. * Add cross compilation of TF Lite and ArmNN Delegate for aarch64 target. * Remove internal-only build flag from ACL build due to recent changes upstream in ACL. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I43bf7e32379ac964c411ad348162156c15a10961
2022-01-07Update ACL pin to 143310c6ec5e7c9f6035e9357bf0faa4020f2412Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I709483dbd12ab1495143e445271476b09f27250d
2022-01-05Update ACL pin to c4270cf958e85e0c41590030e1f9e228493a5ba0Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I1f6c30f43dd87dd0fa3c98915cd9855e4abc4fd7
2022-01-05IVGCVSW-6671 Add CanBeImported to ITensorHandleNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: If32049f6c101871eb7c94d8e9d9a4688f45ace5a
2021-12-23IVGCVSW-6632 OptimizationViews: has INetwork rather than Graph for holding ↵Cathal Corbett
layers * Deprecate the GetGraph() function in OptimizationViews & remove/fix occurances where OptimizationViews.GetGraph() is called. * OptimizationViews has member INetworkPtr. * OptimizationViews has GetINetwork() method. * Unit test added to OptimizationViewsTests.cpp. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: Ifc1e53f1c34d786502279631942f0472f401038e
2021-12-23Update ACL pin to 2761993cdb5b2f9bb1ca50dc6d803b3f4c4b0f14Teresa Charlin
* Crop Kernel Decoupling Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ia031fb44a4f9dc99f78f967c3e96a7aaec15cc3a
2021-12-22Update ACL pin to 3229171402dcb9a63d63380865ba18477b81ff89Teresa Charlin
* Decouple CpuActivationKernel Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I81696f8c349aee6093fd038f35c506f0cd8af404
2021-12-22IVGCVSW-6252 Armnn Error: Failed to parse operator #1 withinCathal Corbett
subgraph #0 error: Operator not supported * Added missing support for reshape operator in tflite parser when the target shape is dynamic and batch size is unknown * Added corresponding unit test Change-Id: I35e159c9c70440168c6092d2ad02828bb2b81cd9 Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
2021-12-21Add missing link dependency in armnnTestUtilsRob Hughes
armnnTestUtils depends on symbols defined in armnn, and so needs a link dependency on it. This is similar to e.g. armnnTfLiteParser. Change-Id: I1dfbde2e385c712c4033e47300c4fbaa9c40437b Signed-off-by: Rob Hughes <robert.hughes@arm.com>
2021-12-21IVGCVSW-6668 Updating build guidesMike Kelly
* Updated build guides to refer to get_compute_library.sh and get_tensorflow.sh * Corrected TensorFlow Version in guides was v2.5.1 but release notes say v2.5.0 * Reordered command sequence to ensure that Arm NN is downloaded and ready before downloading TensorFlow or Arm Compute Library * Fixed hyperlinks in MD files * Added whitespace to fix MD formatting. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Iabc309cbbd41d969eb1e11e9dd33a0b1da39a27b
2021-12-20Make it possible to add libs and includepath from armnn backends for testsZingo Andersen
Signed-off-by: Zingo Andersen <zingo.andersen@arm.com> Change-Id: I95e6a5819ba60e41235f9d64c0ad7ce8706a3123
2021-12-17Remove deprecated code for 22.02Jan Eilers
Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I9114288e705936b12129b01bfd482bbe1260f80b
2021-12-17IVGCVSW-6694 Disable long running Pooling3D unit test cases.Colm Donelan
* Disable the following test cases: LargeTensorsAveragePooling3d LargeTensorsAveragePooling3dUint8 LargeTensorsAveragePooling3dInt16 Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: I908ce880b4d55598e913fc6b186f2bd2e796c613
2021-12-16IVGCVSW-6668 Add get_tensorflow.sh scriptMike Kelly
* Added get_tensorflow.sh a script that downloads the version of TensorFlow that ArmNN has been tested against. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Idf2fa8a4e5d4b83c57983683727ba6292fdfa4bc
2021-12-16Update ACL pin to 40a245f943330219e59adaf9c0d23139d674a5b5Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I13cfaad19121d0e4ae728e2b8da9e9c42895756b
2021-12-15Update ACL pin to b6e49ebb5b83edbf45513978c0c77a8871c6b36cNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I5bb1d7ec8a8e0dcea96f7833c961c7ca3bed09a8
2021-12-15IVGCVSW-6626 Promote backend headers in backendCommon to armnn/backendsColm Donelan
Move the following header files from backendsCommon to armnn/backends. * MemCopyWorkload.hpp * TensorHandle.hpp * Workload.hpp * WorkloadData.hpp * WorkloadFactory.hpp Replace them with forwarding headers and a pragma deprecation message. Resolve the deprecation messages in Arm NN code. Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: I47f116b30f86e478c9057795bc518c391a8ae514
2021-12-14Update ACL pin to 30124354c6848c49f9740d1944d2445782255a85Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I33806756f2f49026dca8f73fe1940416974c796a
2021-12-14IVGCVSW-6630 Add new method AddPrecompiledLayer() to INetworkCathal Corbett
* Add new method AddPrecompiledLayer() to INetwork with Comments noting it is for backend users. * Added unit test to SubgraphViewTests.cpp. * Bug fix and code refactor in Graph.cpp specifically around Graph::SubstituteSubgraph(SubgraphView& subgraph, IConnectableLayer* substituteLayer) Change-Id: If2d816e5109e48ce920bf92d8823b39130c23a16 Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
2021-12-14IVGCVSW-6453 'Move the ArmNN Test Utils code to a physically separate directory'Sadik Armagan
* Created include/armnnTestUtils directory * Moved Arm NN test utils files into armnnTestUtils directory Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I03ac54c645c41c52650c4c03b6a58fb1481fef5d
2021-12-13IVGCVSW-6581 Inclusive language changes on the OnnxParser.hpp fileTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I92213f8a72931d0c5be1272418617f72147665bb
2021-12-13Update ACL pin to cff6f3b3d6750c47e9f8616bb8b2ec671cfe33d3Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ib6e785d2516ec113b64ac4e3d04fd0eaf1dca407
2021-12-09IVGCVSW-6611 ExNet prints inference time twiceCathal Corbett
* Created individual IRuntime sharedptr in ExecuteNetwork main() each time MainImpl() is called. Prevents additional runtime being created when the delegate is used. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: Ia4b508fbf2bbd25467c6235fed2f05662a7aecc0
2021-12-09IVGCVSW-6642: Add forwarding header for src/armnn/CompatibleTypes.hppFrancis Murtagh
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: I375d57766adf7bcad825b4dfcdbf11d34add9921
2021-12-09IVGCVSW-6582 Remove Optimization.hpp from IBackendInternalNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ie593a5c3882ab8fc7d1d0a4ade30dc69973e6d32
2021-12-09Update ACL pin to 78baa48308cba4101b4bcb4680f2f4ca90aeefd7Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I7ab3512efc4c8922348f792b12ed13fb73504776
2021-12-09IVGCVSW-6579 Update PyArmNN to comply with inclusive language guidelines.Cathal Corbett
* Update pylintconfig removing reference to black and white list. * Update tox.ini changing whitelist_externals to allowlist_externals. * Update the pyarmnn speech recognition example from 'he' to 'they'. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I5ce3b9d6a30df6d2e9130a934741b46b594e53d2
2021-12-08Add addition timing logging outputJan Eilers
* Adds ExecuteNetwork when building the delegate only * Adds timings to delegate subgraph creation * Adds executions times Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Ieff2f67ea8dbb6c2a708f8810e84a20485b7a631
2021-12-08Add ModelOptions logging outputJan Eilers
Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I1947924504c1308442b816cff513b2080ed3cc0d
2021-12-01Revert "IVGCVSW-6252 Armnn Error: Failed to parse operator #1 within ↵Teresa Charlin
subgraph #0 error: Operator not supported" This reverts commit 9fc259682c8b85af58bda42e87703bbec5ae57ce. Fixes: IVGCVSW-6644 ExecuteNetwork tests failing with invalid input shape in Reshape layer Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I561e0bd9ed1b92491cb8a08635042e199dd661d8
2021-11-30MLCE-689 Fix build issues in x86 DockerfileJames Conroy
* This Dockerfile was donated by an open source contributor to ArmNN. * Fixed issues whilst building Arm Compute Library (ACL) and removed Boost which is no longer used by ArmNN. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: Ie3588dec510d7310a36699e135d67580dde30676
2021-11-30Fix the break caused by ACL Opencl header updateNikhil Raj
* Headers were updated in https://review.mlplatform.org/c/ml/ComputeLibrary/+/6751 * Update ACL pin to dc2282f40b40c0d85b113c792f90d1faa2759f46 Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I1ff5d017e1921e5acbf7a5a54abc57d165fa5269
2021-11-30IVGCVSW-5611 TfLiteDelegate: Investigate and fix incorrect output from ↵Tamas Nyiri
Deep_speech models * Fixed output bindings in ExecuteNetwork when using delegate * Added extra comments (for my own comprehension) Change-Id: Ia1330903a2b724be7d637f6c5b6e4349e7d33e2e Signed-off-by: Tamas Nyiri <tamas.nyiri@arm.com>
2021-11-26IVGCVSW-6252 Armnn Error: Failed to parse operator #1 within subgraph #0 ↵Tamas Nyiri
error: Operator not supported * Added missing support for reshape operator in tflite parser when the target shape is dynamic and batch size is unknown * Added corresponding unit test Change-Id: I78f4b386f2e5e0d08ecacde17e33e304f6afbb70 Signed-off-by: Tamas Nyiri <tamas.nyiri@arm.com>
2021-11-26Update ACL pin to 1d4a320b7c638936a8b4a5c55ac59c61f63791a1Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ifc06946de257c000fda364670fe4c3809953273e
2021-11-26IVGCVSW-6589 AddReduceLayer to PyArmNNRyan OShea
* AddReduceLayer to PyArmNN armnn_network.i * AddReduceDescriptor to PyArmNN armnn_descriptors.i * Add layer to test_network.py * Add descriptor unit tests to test_descriptors.py Signed-off-by: Ryan OShea <ryan.oshea3@arm.com> Change-Id: I2a8706052baf8f9c0038a5ea327d73b8f3ea1961
2021-11-26Update ACL pin to 48f261526b77f61607478f3f809dd8647e626f2bNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ia027c067343fc664e4e6f890e37cdc7fd0d36e8e
2021-11-24Remove deprecated warnings from Readme.mdNikhil Raj
* These deprecated warnings have been there for more than two releases Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I1c816d80f6e74933cf5e4e8cc0dbad9a7a144562
2021-11-24Update ACL pin to 9e8a7701532377073220613b3642468f96cba62fNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ia7eb158dcc42cabde3b60806110b6e5c38c5d689
2021-11-23IVGCVSW-6610 No bounds checking performed when indexing PermutationVector ↵Cathal Corbett
elements. * Added out of bounds index error checking to PermutationVector operator[] method in Types.hpp. * Added armnn unit tests to UnitsTests.cpp to check error when using PermutationVector alone and with TransposeDescriptor and PermuteDescriptor. * Added pyarmnn unit test to check error when using PermutationVector. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: Ie5a8090f07b571a6bdf79a8cad621c31cc1891b7
2021-11-23IVGCVSW-6585 AddChannelShuffleLayer to PyArmNNTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I2bfc54ea9aae78c60a66d7a5c39a33ca8a238e62
2021-11-23IVGCVSW-6584 AddConvolution3dLayer to PyArmNNTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I6d09abb75db1875d4d4075b1801fdc46a0f4ae7b
2021-11-23IVGCVSW-6598 Add MirrorPad to PyArmNNTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ie54d2deff3059978a55667fe8a1d91418ef785dd
2021-11-23IVGCVSW-6588 AddCastLayer to PyArmNNTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: If9c6902396b9f3cec3b38b70ccfa12fcbb3fd5a7
2021-11-23IVGCVSW-6587 AddShapeLayer to PyArmNNRyan OShea
* Add layer to armnn.network.i * Add layer to test_network.py Signed-off-by: Ryan OShea <ryan.oshea3@arm.com> Change-Id: I7554a0ff62d81fcc99aa68204ae5f1cc3965c44b
2021-11-23IVGCVSW-6592 AddTransposeLayer to PyArmNNCathal Corbett
* AddTransposeLayer to PyArmNN armnn_network.i * AddTranposeDescriptor to PyArmNN armnn_descriptors.i * Add layer to test_network_method_exists() in test_network.py * Add descriptor unit tests to test_descriptors.py Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: Ic198448ad11d10701b6b263656285bb75d3656cd
2021-11-22IVGCVSW-6591 AddLogicalBinaryLayer to PyArmNNCathal Corbett
* AddLogicalBinaryLayer to PyArmNN armnn_network.i * LogicalBinaryDescriptor to PyArmNN armnn_descriptors.i * Add layer to test_network_method_exists() in test_network.py * Add descriptor unit tests to test_descriptors.py Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I2f6288987332e1556235a9c16582e96b3a0fb641
2021-11-22Update ACL pin to 9cca592c13f1e688a35698641069bcd37a525f0cTeresa Charlin
* Improve start-up timer for GeMM (floating-point) Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I065dc7feb79aa0acf7e7ff9d86b296d134f2f97f
2021-11-18IVGCVSW-6452 'Move CompatibleTypes.hpp to the armnnUtils library'Sadik Armagan
* Moved CompatibleTypes.hpp to include folder * Added implementation file to source CompatibleTypes.cpp Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I94d2bffdb82a0592943f497d4f57972151d9f2db
2021-11-18IVGCVSW-6520 Extend pad workload for CpuAcc to support mirror paddingTeresa Charlin
* Add UnitTest for CpuAcc !ComputeLibrary: 6641 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ic96b9e28d133cef73312b4ac793325f5e69b3d4d