aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-03Update ACL pin to 3c4d085da54c3d9727cb31718c5b407c18ff646aNikhil Raj
Signed-off-by: Nikhil Raj <nikraj01@e126673.cambridge.arm.com> Change-Id: Ibd6f971f275c115f97a0d8338f6e7770790f2e67
2022-08-03Fix '#if defined(ARMNN_POST_TFLITE_2_3)' in TfLiteParser Conv3D test.Cathal Corbett
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I5c68b81a67fc2b5a33cf62753351440564bb868e
2022-08-03IVGCVSW-6992 Update Major, Minor release versions for 22.08Cathal Corbett
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: Ic134f73f217fff420fec089cd817e48ef62641c6
2022-08-03IVGCVSW-7145: BatchMatMul Fix for Raspi Cross Compile FailingSamuel Yap
* Changed long variable declaration to int Signed-off-by: Samuel Yap <samuel.yap@arm.com> Change-Id: I2df6f8f6df8780e48e09f7e68c04626a8a8a207d
2022-08-02IVGCVSW-6889 Seg fault running ExeNet with --bf16-turbo-mode on fpgaFrancis Murtagh
* Added case for Bf16 to switch and changed Assertion to Exception so it shows up in Release build. Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: I817260dc7b7667386c4aa734bea649383866a785
2022-08-02IVGCVSW-7063 'Support Library NNAPI Caching'Sadik Armagan
* Fixed caching issue. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ic7b3e0bd4438b2fd1b3dbfa86b6c89d625bbf9dd
2022-08-02Update ACL pin to 9b921be1ff7283050eb39d9ce1b10b5c8bfc1300Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Iecfb4ef0f821f71aaf16c6f3c80f26a4c39f2e3a
2022-08-02IVGCVSW-7149 FoldPadIntoQuantizedAvgPoolCpuRefTest test failing while ↵Cathal Corbett
running Arm NN Unittest Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I567452000287babad345e61ea85ea84f362f48e0
2022-08-02IVGCVSW-7147 Bug Fix for refactor of the ExecuteNetwork for strategy in ↵Teresa Charlin
ConvertLayers. * ConvertBf16ToFp32Layer * ConvertFp16ToFp32Layer * ConvertFp32ToBf16Layer * ConvertFp32ToFp16Layer Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I5e763519a12f017dc14b09ea191fdb3b7398c0d7
2022-07-29GitHub #667: Neon fold padding into average pool 2D quantization bug fix.Cathal Corbett
* Originated from a GitHub issue: https://github.com/ARM-software/armnn/issues/667 * Initially, Arm NN supports the pool 2D operation because there is no padding on the pool2d. Neon failure occurs when padding is followed by average pool 2D due to folding optimization. * Here we prevent the folding optimization from happening for the above special case and add it in as a backend specific optimization. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: Ia0fd90c3a6b4b9d29c81106f154617d2e893e26b
2022-07-28Bug Fix for refactor of the ExecuteNetwork for Strategy in MemCopyLayerTeresa Charlin
* Correcting some typos Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Icb21dc4828e51afa38816bd454926fc41e9e82cb
2022-07-28IVGCVSW-7049 Inform Arm NN external users about switching branch to mainNikhil Raj
* Adding an announcement in the main Readme file with the date we are freezing master and moving to main branch Change-Id: I87a0e99d83cc872ef6ac3ba1f0fd445665885059 Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
2022-07-28Update ACL pin to aa52b7d45dc82323aafb09a9002b76a0000925bcNikhil Raj
* Fix compilation error rasied in Nightly_NEW Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I2e7ea907dd2d6e99fc56ff8f48f7c2b6c2a4a7c1
2022-07-28Revert "Revert "IVGCVSW-6650 Refactor ExecuteNetwork""Teresa Charlin
This reverts commit 1a7f033768acb27da11503bd29abb468d2e77f9e. List of fixes to be able to add this code again: * "emplacing_back" the vector inputTensors into the vector m_InputTensorsVec outside the for loop * GetIOInfo() uses IOptimizedNetwork instead of INetwork, where the infered shapes are not saved * Add missing data type Signed32 to SetupInputsAndOutputs() * PrintOutputTensors() prints the actual output without dequantizing * Add profilingDetailsMethod as input in networkProperties in ArmNNExecutor constructor * Fix typos Change-Id: I91de166f87228282db3efa27431fe91458834442 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ic6634d48892d11e5f146cdf285e1e333e93e9937 Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
2022-07-26GitHub #650: DelegateQuickStartGuide.md errors fix.Cathal Corbett
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: If24cad1d5d403e195d7adc539afb83cc5df134d1
2022-07-22IVGCVSW-7109: Add Batch MatMul front end support - ReferenceSamuel Yap
* Descriptors added for BatchMatMul * Layer definition added * Input validation added (will likely change when opt. param support comes in) * Ref workload implementation for BatchMatMul added (will also change with opt. param support) * Ref layer tests made for BatchMatMul * CMake and other build files updated Signed-off-by: Samuel Yap <samuel.yap@arm.com> Change-Id: Ic885301da543ee0fbe7922b85e7f9658c4efc617
2022-07-22IVGCVSW-6776 Add Arm NN build-tool scriptsJames Conroy
* Initial scripts which download and build Arm NN dependencies (setup-armnn.sh) and build both Arm NN and ACL (build-armnn.sh). * Also added common.sh for handling common variables between scripts and validation.sh for common command line arg validation. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I6a61149d048f618b4cc9770cc9dd6ec2e5f64ea5
2022-07-22IVGCVSW-6978: RedirectMembersToConstantInputs does not work with ↵Francis Murtagh
Fp32NetworkToBf16Converter * Fuse FP32ToBF16Layers with Constant Layer so Conv2d/FullyConnected can have their weights redirected. * If BF16 Unsupported in Conv2d || FullyConnected revert fused Constant Layer to FP32 Change-Id: If523c708a822659d64597d9ae39cca1c2f84b76f Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
2022-07-21IVGCVSW-6954 'Arm NN Support Library Implementation'Sadik Armagan
* Fixed model converting issue * Fixed import memory issue Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ied61810b308e0c5d5754f122a6ea2bac1d0725f1
2022-07-20IVGCVSW-7113 Fix building nn driver failed in our Android OOBTKevin May
* Android.bp file gets picked up by older Android versions so rename it to "switch it off" and update guide on how to enable it Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I1fc59a0d0dc2e6ce9cdc19f94b0b34d08d414351
2022-07-20IVGCVSW-7061: Use same sentence for Aynch execution in ExNetTeresa Charlin
* "Asynchronous Execution with std::launch:async..." * "Asynchronous Execution with Arm NN thread pool..." Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I93f6ae92fd5599d1042f0dfced7e90ef85e20463
2022-07-19Update ACL pin to 99c46475daf277aa53e6747f9e41209f418fed33Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ia09aba7d8a358f27db7773d360604a2570fdf657
2022-07-18IVGCVSW-7036 Remove reference to Android 32 from Arm NN README.Colm Donelan
Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: I01000533c3023271f81e9f7f53504ba185a62778
2022-07-15IVGCVSW-6896 Fix pre-import when using sync execute.Colm Donelan
* Refactor backend capability checks in LoadedNetwork. * ImportInputs should check the number of tensors does not exceed the number of inputs. * In EnqueueWorkload the check for for the count of input tensors was ignoring pre-imported inputs. * Added checks to verify ImportInputs/ImportOutputs worked as expected in EndToEndTestImpl. * Improve documentation on ImportInputs/ImportOutputs in IRuntime.hpp. * Disabled import tests in CL and Neon EndToEndTests that cannot work. Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: Iae4b2644a1c9f01ee72bce1afb211661cc9ae2e3
2022-07-15IVGCVSW-7107 'Error while running Arm NN Sl with -d option'Sadik Armagan
* Templated the DumpTensor() function based on tensor type Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I08775e480f89010be61daf0a09a2ab0274e05978
2022-07-15IVGCVSW-7096 Harmonise macro ARMNN_TFLITE_DELEGATETeresa Charlin
* Remove ARMNN_TF_LITE_DELEGATE and DARMNN_TF_LITE_DELEGATE Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I3fc08da3fa0b733e6791c42f6bc59494f2bc26a6
2022-07-15Update ACL pin to a1f7851e2f776610019db8725c2963c36b0c85ebNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Id2cf6cda8f83466f76959ca90b03b56864d3ac8a
2022-07-14Update ACL pin to 4bfc70e31766587c951204c93a127a486e007d0cNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I8129fcd6b20ad6ec3b43f7d3b2bfcb1de45d28e6
2022-07-13Update ACL pin to 2186aef84fe1206545f6d5bc321752044fdd1b3dNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I654a9e0cb2e9458e0a1ccdab55bc32c3d80ee3a9
2022-07-13Documentation refactor and updates.Cathal Corbett
* Includes updating ContributorGuide.md with information section 'Contributing code to Arm NN'. * Renaming of ContributorGuide.md to CONTRIBUTING.md. Also renamed associated licence file and links in other pages that call the md file. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: Ic3336d78b64ae41af07ea9fd03631bb161613c4b
2022-07-13IVGCVSW-7094 Add LOG and SIN support to tflite delegateTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I355298f365b82cad1e3f46cfebf1c1375716cf92
2022-07-13IVGCVSW-6620 Update the async api to use ExecutionDataMatthew Sloyan
* ExecutionData holds a void* which can be assigned to data required for execution in a backend. WorkingMemDescriptors are used in the Ref backend which hold TensorHandles for inputs and outputs. * Updated ExecuteAsync functions to take ExecutionData. * Added CreateExecutionData and UpdateExectutionData to IBackendInternal. * Streamlined experimental IWorkingMemHandle API by removing map related function and unused m_workingMemDescriptorMap from WorkingMemHandle. Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: I54b0aab12872011743a141eb42dae200227769af
2022-07-12IVGCVSW-7094 Add LOG and SIN support to tflite parserTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I979a6f43c0d6ec49effb9a87339dbcd07678d2bd
2022-07-11Updated ImageClassification dependenciesMike Kelly
* Added dependabot suggested changes for https://github.com/ARM-software/armnn/pull/657 https://github.com/ARM-software/armnn/pull/625 Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I60b517f949e684d8048c0bee738237746fc5e42f
2022-07-11Updated README links to latest releaseMike Kelly
* Changed download links to point at v22.05.01 rather than v22.02 * Corrected Android entries in order to clarify the versions: * 'Android 27' becomes 'Android 8.1 "O/Oreo" (API level 27)' * 'Android 28' becomes 'Android 9 "P/Pie" (API level 28)' * 'Android 29' becomes 'Android 10 "Q/Quince Tart" (API level 29)' * Corrected the download image for armv7a from arm64-v7a Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ic79ebf481d3ee7ea6710d97f0ba665986a8e9c5b
2022-07-11Update ACL pin to 2cc50b39613cea5e55c8a4851ee08d284a3d4f66Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: If7604887518d4f4500932a1b1b55f4043111c884
2022-07-08Update ACL pin to 22dd8b9014112fe446cb8cff6d52933d2603a97fNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I2269c6eee25eeff6ba05e073d49cc12c71a3e038
2022-07-08IVGCVSW-7024 Add missing license info for reuse lintJim Flynn
Signed-off-by: Jim Flynn <jim.flynn@arm.com> Change-Id: I97dee6982e0a7be01c13e9e803c0997547a39ff1
2022-07-07IVGCVSW-7060 Add GetMemoryRequirements to IWorkloadFrancis Murtagh
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: I8c59f1feb9c44351427715b08d762b5a73320af5
2022-07-07IVGCVSW-6957 'Import Host Memory in SL'Sadik Armagan
* Enabled import host memory in SL as default * Updated import host memory functionality in GpuAcc Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I22132b1e1008159b0e7247219762e3e9ae5eba10
2022-07-06Update ACL pin to a3cf241de1f68f90ebfefe0c7e3d6e7c67c36915Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ic28a366ea4a437d2b24bb085545887852fdd7598
2022-07-06IVGCVSW-7034 Modified SubgraphView returned by GetWorkingCopy()Francis Murtagh
* Add virtual GetSlotIndex to IInputSlot * Fix logic in GetWorkingCopy to use index of slots; so as not to add slots to cloned subgraphView if not in original subgraphView * Add test to cover cases when not all inputSlots to subgraphView layer are part of the original subgraphView * Mark SubgraphView::GetWorkingCopy() as const Change-Id: I1d540f84c57f97f6c834ec06ca13393ffa55d379
2022-07-05Revert "IVGCVSW-6650 Refactor ExecuteNetwork"Nikhil Raj Arm
This reverts commit 615e06f54a4c4139e81e289991ba4084aa2f69d3. Reason for revert: <Breaking nightlies and tests> Change-Id: I06a4a0119463188a653bb749033f78514645bd0c
2022-07-04IVGCVSW-7040 Add support for LOG_SOFTMAX to the TFLiteParserTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I1fedfdf2cd8871d6b307fce8620f40adadf75f04
2022-07-04IVGCVSW-6650 Refactor ExecuteNetworkFinn Williams
* Remove InferenceModel * Add automatic IO type, shape and name configuration * Depreciate various redundant options * Add internal output comparison Signed-off-by: Finn Williams <finn.williams@arm.com> Change-Id: I2eca248bc91e1655a99ed94990efb8059f541fa9
2022-06-30Remove armnn-android DockerfileJames Conroy
* This Dockerfile currently does not work and is very out of date. We will be providing an equivalent (productized) Docker solution in a future release. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I3b915e39cce822c81886d717d4743beb7844c448
2022-06-30Fix for broken EthosN buildNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I58b2c3fa846795cb2d0f88465c645c0a2fdf7fdc
2022-06-30Update ACL pin to d8804fdc4254f614e48296e5a4efef2833ba4163Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ifa8879bc2542e27e5923ecad637a7e6c6f6c8eb3
2022-06-29IVGCVSW-6962 Adding Const layer in the graph immediately after InputTeresa Charlin
instead of immediately before output Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I2d89a1efdabfdb4be24a8998a03fe1f502d26183
2022-06-29Add jni interface for the ArmNN DelegateJan Eilers
* adds a version script to hide away all symbols that are not required to use the interface * the main purpose of the jni interface is to enable the delegate to be used in android apps * Add static building to patch - see patch 7 for JNI patch only Signed-off-by: Jan Eilers <jan.eilers@arm.com> Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I9bb2d698b5fdb0d1b30cf79e6f19746310cd61b2