aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2021-11-18Update ACL pin to e330fb41d85d7058f74902ce1d47b2dc00b10a52Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ic66f4576fcba9983c0a4586d003654a098b6ee36
2021-11-17IVGCVSW-6580 ModelAccuracyTool: change parameter "b,blacklist-path"Teresa Charlin
to comply with inclusive language guidelines. Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Iff3c9fd1107ddd97b1547f676e6aec06d7e2d28a
2021-11-17IVGCVSW-6510 Serialization + Deserialization implementationTamas Nyiri
Subtask of story: IVGCVSW-6164 Add a Pooling3d FrontEnd and Ref Implementation * Add serialization support * Add deserialization support * Add corresponding unit tests Change-Id: I7cce5421f0a9b7c47a03524e733f3315131ba125 Signed-off-by: Tamas Nyiri <tamas.nyiri@arm.com>
2021-11-17IVGCVSW-6509 Front End + Reference Workload implementationTamás Nyíri
Subtask of story: IVGCVSW-6164 Add a Pooling3d FrontEnd and Ref Implementation * Add front end * Add reference workload * Add corresponding unit tests Change-Id: Icce4146dd0a06a1da46a2def00a82d343e171750 Signed-off-by: Tamas Nyiri <tamas.nyiri@arm.com>
2021-11-16Fixing error in pyarmnn generate_docs.pyNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ic352c48dfe04c6cc5a2b201bf71950866be6b2fe
2021-11-16Update path to image file in pyarmnn generate_doc scriptNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ifb5600771e49ac75d4d53bf281bcb87c7bdd99f9
2021-11-15IVGCVSW-6519 Extend pad workload for GpuAcc to support mirror paddingTeresa Charlin
* Add UnitTest for GpuAcc Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I235900dc62fb043c5ce9c8cd4f63dcc4e5393233
2021-11-15Add missing QSYMM8 to GetPixelValue()Tamas Nyiri
* Detected to be missing after adding validation to PadWorkload Signed-off-by: Tamas Nyiri <tamas.nyiri@arm.com> Change-Id: I3b2c58f414456008543db299a8461dad5b4d2a96
2021-11-12Bump Major Version of Delegate to account for ABI breaking changesFrancis Murtagh
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: I53f884d2b534b6b009c0717172d977af8b75a7e3
2021-11-12Update the graph path in Readme and update project number in doxyfileNikhil Raj
* Move all the image files used in doxygen to docs/ * Have a single path for all images in Doxyfile * Update project number to 21.11 in Doxyfile Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ic9102d36b69a8261caf8e55da645463540e0b9f3
2021-11-12IVGCVSW-6347 Fix PyArmnn AddConstantLayerCathal Corbett
* Added new test for AddConstantLayer to FullyConnectedLayer with actual data in test_network.py * Added support for m_ConstantWeights in FullyConnectedDescriptor in file armnn_descriptors.i * Amended AddFullyConnectedLayer methods in armnn_netowrk.i to add support for ConstTensorsAsInputs to FullyConnected. * Fixed indentation in test_network.py Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: Id25c7ef6ed2cd3de3285416d90588ccb345aa9bc
2021-11-11Remove use guide section from doxygenNikhil Raj
* This guide has now been moved to the Quick Start section in doxygen Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I758915c43f0e9e116f7308482db34d560d7ba0d9
2021-11-11IVGCVSW-6373 Update main READMENikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Iea0afcb69230a22181629424a3f801f3128990d1
2021-11-10IVGCVSW-6569 Fix SingleAxisPriorityListFinn Williams
* Fix overlap detection with strategy validator Signed-off-by: Finn Williams <finn.williams@arm.com> Change-Id: If9d9d9586864cef7d109aad24bdb0f682fefb1bd
2021-11-10Fix typo errors from ticket IVGCVSW-6420Cathal Corbett
* Typo errors from ticket 'Constant flag in tensor info is not set correctly'. Not fixed due to code freeze deadline. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: Id80ba60647d1970115a8cf200f0d71e4fada9b30
2021-11-10Fix for pyarmnn py35 Unit TestsKevin May
* py35 unit tests require more-itertools 8.10.0 as latest version 8.11.0 breaks with py35 Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I21654fc73a3e3e9d00b14119eb840df750c81b12
2021-11-09IVGCVSW-6420 Setting a const tensor flag was missing inthe TfLite parser.Colm Donelan
* The TfLiteparser was returning non const TensorInfo's for input tensor BindingPointInfo. Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: I20942aaef3afe7c91cf19fc3c007bec35828e69e
2021-11-09IVGCVSW-6558 Fix the failing OptimisedNetworkTestsDavid Monahan
* With the new Memory Management updates input tensors should now match the backend of the layer they are attached to. Updated the test to reflect this. Signed-off-by: David Monahan <David.Monahan@arm.com> Change-Id: I4e7fbd3f2f40d349c39cdf0d7bfef1262144181b
2021-11-09IVGCVSW-6420 Fix for typo in samples/DynamicSample.cppDavid Monahan
Signed-off-by: David Monahan <David.Monahan@arm.com> Change-Id: I115a28049eadd6101c507fb15a2e84bedb022189
2021-11-09Fix use of non-standard "uint" typeTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I476608976c52df97677a64af94767d3945dd9475
2021-11-08IVGCVSW-5636 'Implement NNAPI caching functions'Sadik Armagan
* Serialize/Deserialize axis parameter on Softmax Descriptor. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I1bba0dd7d78f9f211f77115dcefccf24a4a61b39
2021-11-08IVGCVSW-6420: Constant flag in tensor info is not set correctlyCathal Corbett
!android-nn-driver:6532 !armnn-internal-tests:372451 * Made fix to 2 out of 3 ConstTensor() constructors in Tensor.hpp to throw InvalidArgumentException when TensorInfo isConstant parameter is false. * Added new ConstTensor() constructor in Tensor.cpp to accept vector<>.data() using template<typename MemoryType>. * Fixed runtime->GetOutputTensorInfo()/GetInputTensorInfo() methods and called submethods to return TensorInfo& rather than TensorInfo. * Fixed all failing unit tests for CpuRef/CpuAcc/GpuAcc to ensure any ConstTensor created has it's TensorInfo isConstant set to true. * Added unit tests in TensorTest.cpp to ensure ConstTensor constructors throw InvalidArgumentException when TensorInfo isConstat parameter is false. * Added unit test to ensure an empty ConstTensor constructor will set TensorInfo isConatant to true. * Indentation fixes. * Fix to arm_tensor.i to add isConstant parameter to TensorInfo constructor. Added methods IsConstant() and SetConstant(). * Fix to const_tensor.py to throw ValueError when TensorInfo isConstant is set to false when constructing a ConstTensor. * Fixed PyArmnn unit tests to set TensorInfo isConstant to True when ConstTensor is used. * Added unit tests in test_const_tensor.py to ensure ConstTensor constructors throw ValueError when TensorInfo isConstat parameter is false. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I44e440dd0422c366d31bbdbc77ad2b4db0bde148
2021-11-08IVGCVSW-6049 Review Readme files for ParsersTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: If567bdc1ced5d4bbe524375e2566a19677533c98
2021-11-08Fix MemoryOptimizerStrategyLibrary searchFinn Williams
Signed-off-by: Finn Williams <finn.williams@arm.com> Change-Id: I4ca8d9196abd0e116d420a36c780e39edbca0eb3
2021-11-08Update .md files to reflect Ubuntu version change used for testingNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I9b5407a2d6fc27df2c448a4f6a6b862d2175022c
2021-11-08Fix stand-alone delegate buildJan Eilers
* adds missing dependencies to fix errors when building the armnn delegate on its own Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I9bb676febc80eba277f981f5536a9add48e7f6dd
2021-11-08IVGCVSW-6527 Support the new memory API in loaded networkFinn Williams
* enable external memory management for neon and ref backends * change m_TensorMemoryVector to hold shared pointers * change input layer backend Id to match backend id of connected layer Signed-off-by: Finn Williams <finn.williams@arm.com> Change-Id: I2216a724028312eb101b290df3f224177826b1a0
2021-11-06IVGCVSW-6372 Change order in doxygen tree viewNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ia765d335ef998e7e47a1c0c81a375645972f4e1d
2021-11-05Fix use of non-standard "uint" typeRob Hughes
Change-Id: I474e5e40550d61f873fd930fe33b0e1e9f9992cc Signed-off-by: Rob Hughes <robert.hughes@arm.com>
2021-11-05IVGCVSW-6412 Implement CLBackend ICustomAllocatorDavid Monahan
* Added implementation of ClBackendDefaultAllocator * Added back in some pure virtual functions that were mistakenly removed from the CustomMemoryAllocatorSample * Added a new Gralloc MemorySource for memory which originates from the gpu * Added unittests Signed-off-by: David Monahan <David.Monahan@arm.com> Change-Id: Id2abb33d82697df36426f5709756c616af3e8ed7
2021-11-04Update ACL pin to branches/arm_compute_21_11Teresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ib6fe82b80e4428d5189c01b3f55f7b30fff2f2a6
2021-11-04IVGCVSW-6095 Sample model to test Netron serialized format supportNikhil Raj
* This commit only has the Readme.md file which has the link to the model available in public model zoo Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ife6ac8fc16897d977148a84de958719c427947e5
2021-11-04IVGCVSW-6095 New serialized model added that supports on NetronNikhil Raj
* The new model is based on SSD Mobilenet available in the public model zoo * Model available at https://github.com/ARM-software/ML-zoo/tree/master/models/object_detection/ssd_mobilenet_v1/tflite_fp32 * Old model doesn't have any license associated with it Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: If9f5273cb4d56b5ea1e42db4abcc2339c30bdd4a
2021-11-04Add CpuAcc and GpuAcc TfLite Delegate tests for Conv3dMatthew Sloyan
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: I3e91796a69f02a8eff3018a1d17a496a66076db5
2021-11-04IVGCVSW-6303 Create a SingleAxisPacking strategyFinn Williams
* add fsrcnn and mobilebert memory profiles to the strategy benchmark Signed-off-by: Finn Williams <finn.williams@arm.com> Change-Id: Ibd8b26f2153c561e5c5bec477f6246d0e8ffa4af
2021-11-04Update ACL pin to 71cbd28b7cf5115b0451d43e5c84cce4ae4d8ec7Teresa Charlin
* Fix out-of-bound reads in cl gemm kernels Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: If88ae8b46ed46604f5e6142282affe85a4dd7117
2021-11-03Make it possible for backends to add include paths in AndroidZingo Andersen
Signed-off-by: Zingo Andersen <zingo.andersen@arm.com> Change-Id: I1ae9d7e45d5829330daeece3a99ec08938ead143
2021-11-03IVGCVSW-6517 Delegate Json output is invalidKeith Davis
Change-Id: Iee9720a9df6f2f0d8e00313e1972f3a3df33cb15 Signed-off-by: Keith Davis <keith.davis@arm.com>
2021-11-03Update ACL pin to bc788389dcc7bd682f53a85803f6a202d42ac828Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I49c77f3bc10f0ca404ba5949a4107a79d66d6e92
2021-11-03Revert "IVGCVSW-6359 Added support for Float16 (Half) to Execute Network"David Monahan
This reverts commit 2d9956162dd002a41f7fb4fa6753195d33524c7f. Reason for revert: After some discussion, this does technically implement Float16 support for ExecuteNetwork, but not in a way which matches most use cases and is likely to cause issues in the future. Reverting for now. Change-Id: I4ce6de6879216e694631f5dc68e46fb793fae0a9
2021-11-03Bug Fix in CpuAcc and GpuAcc workload: Gather has 2 inputsTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ifbb9332c78c843c5b937c4e1b50a8f5a75409e73
2021-11-02Move command line parsing in external delegate to DelegateOptionsJan Eilers
* Moves the creation of a DelegateOption object from armnn_external_delegate to DelegateOptions. * This allows this code to be reused elsewhere * Allow boolean values of DelegateOptions to be passed as strings e.g. 'true' or 'false' * Add unit tests Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I0ada17f511027dd3f47a85142cae346464682f5a