aboutsummaryrefslogtreecommitdiff
path: root/delegate
AgeCommit message (Collapse)Author
2021-02-18IVGCVSW-5394 TfLiteDelegate: Implement the Lstm operatorMike Kelly
* Add LSTM operator Signed-off-by: Mike Kelly <mike.kelly@arm.com> Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: If8c667685fa1176738ffe2e6d08b1c684e7ee6b2
2021-02-17IVGCVSW-5654 Fix failing float 16 delegate tests on androidFinn Williams
* add template specialization declaration to header to resolve clang issue Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: Id8104d6feda19ed3f5f0cb018d719b1677772d9b
2021-02-15IVGCVSW-5694 Update Major, Minor release versionsNikhil Raj
* Update Arm NN version in Version.hpp and all guides * Change Project Version in Doxyfile Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I05ab20a1ae5d0376a641df68a5877f97e7609052
2021-02-15IVGCVSW-5686 Add GpuAcc MLGO tuning file configuration argumentFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I3f320499c379162f9d1b00cc8816bd144cd7eee4
2021-02-15IVGCVSW-5386 TfLiteDelegate: Add Strided Slice operatorJan Eilers
Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Icd87b1c54e1a5de84893882da30840a9097f6d84
2021-02-12IVGCVSW-5685 Add CpuAcc specific configuration option numberOfThreadsMatthew Sloyan
* Added ability to set number of threads used in CpuAcc backend * Enabled number-of-threads option in ExecuteNetwork * Added TfLiteDelegate ModelOptions test * Added unsigned int type to BackendOptions.hpp Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: Ia576d4f45cbe5df3654bc730bb5ebd5181d82b5a
2021-02-11IVGCVSW-5392 TfLiteDelegate: Implement the Batch/Space operatorsMatthew Sloyan
* Added support for BATCH_TO_SPACE_ND and SPACE_TO_BATCH_ND Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: Ib29333f3e2bc1a18bcc63533da4369b63c45ab90
2021-02-10IVGCVSW-5400 'TfLiteDelegate: FLOOR operator support'Sadik Armagan
* Added FLOOR operator support to Arm NN TfLiteDelegate Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I986ce8c5a825f509e0f8b3d257fd5b60834c322f
2021-02-09MLCE-347 'REDUCE_MIN, REDUCE_MAX, REDUCE_SUM Support'Sadik Armagan
* Added TfLiteParser support for REDUCE_MIN and REDUCE_MAX operators * Added ACL workloads support for REDUCE_MIN, REDUCE_MAX, and REDUCE_SUM operators * Added TfLite Delegate support for REDUCE_MIN, REDUCE_MAX, and REDUCE_SUM operators Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I8085d59946bfd4ab78a59a61f899031ae53371a8
2021-02-08IVGCVSW-4901 Add semantic versioning to Parsers and TfLite DelegateMatthew Sloyan
* Added Version.hpp to all Parsers * Added Version.hpp to TfLite Delegate * Updated CMakeLists to use new versions * Added GetVersion method to parsers and TfLite Delegate Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: If29e1e6d9e615f9095ec1c01ad47acfff40b1dd5
2021-02-04Remove LFS configurationNarumol Prangnawarat
* Remove LFS configuration * Add mock test models for external delegate Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I9f5b427a995aff22391548cd45821cb2afc8a474
2021-02-03Fix LFS issueNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I6b3321cf0d51c06b742432995ea486c987806afc
2021-02-03IVGCVSW-5605 Doxygen: Add the TfLite Delegate to Doxygen docuJan Eilers
* Moves TensorFlowLiteDelegateSupport.md to doxygen * Renames a few .dox files to represent the structure of the documentation * Adds sections for build and use guides * Integrates markdown guides for the delegate into doxygen Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I68b7a29239be88c0617da9bdfce5323ebf26f5bc
2021-02-02IVGCVSW-5619 Enable OptimizerOptions for the python external delegateNarumol Prangnawarat
* Add reduce-fp32-to-fp16, reduce-fp32-to-bf16, debug-data, memory-import options to external delegate * Simplify DelegateOptions * Add test mock models * Unit tests * Configure lfs to manage tflite files Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I1e4db468862ba03d4cb031347bc307cf940b3cb1
2021-01-31IVGCVSW-5374 Provide Android Build for DelegateKeith Davis
Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: Ie8c03153f82434d73572278eedb8a4b5b89ed837
2021-01-28IVGCVSW-4874 Provide LayerSupportHandle to frontend usersFrancis Murtagh
* Add test for new IsBackendRegistered member function of Handle * Move deprecated messages to new frontend API of LayerSupportHandle * Update delegate to use dot operator for IsXXXLayerSupported Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: I70d7166e207a10e4b3583a827ca0dda2169bcba1 !android-nn-driver:4940
2021-01-28IVGCVSW-5374 Provide Android Build for DelegateKeith Davis
* Remove double brackets for scalars * Add in extra location in cmake for tf lite dynamic library Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I31ef9a955d4677faabedc0068ae2cfbfe570b58c
2021-01-26IVGCVSW-5391 'ArmNN TfLiteDelegate: Implement the Space/Depth operators'Sadik Armagan
* Added DEPTH_TO_SPACE and SPACE_TO_DEPTH operators support Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I2595f759181bd7339127e7b114b850b534210dd5
2021-01-26IVGCVSW-5390 'TfLiteDelegate: Implement the Normalisation operators'Sadik Armagan
* Added L2_NORMALIZATION and LOCAL_RESPONSE_NORMALIZATION opertor support Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ic9e66879cf6469fa8761fb1c9dd5950771f629b0
2021-01-25IVGCVSW-5619 Add OptimizerOptions and NetworkProperties to ArmNN DelegateNarumol Prangnawarat
* Add OptimizerOptions, NetworkProperties, DebugCallbackFunction to DelegateOptions * Enable OptimizerOptions when the network is being optimized * Enable NetworkProperties when loading network * Enable DebugCallbackFunction * Add error message when loading network * Log warning instead of error when operator is not supported but could fallback to another backend * Improve uint16_t CompareData * Unit tests Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I353035afb442774bfeb1c62570a90755c2ceaf38
2021-01-22IVGCVSW-5571 Expose the TfLite Delegate to the TfLite python APIJan Eilers
* Implemented external delegate adaptor interface for TfLite * Activated armnn logging for delegate * Added logging info to indicate if gpu tuning is turned on * Added pytests to ensure functionality of the external delegate adaptor * Included the delegate directory into doxygen * Added documentation on how to use the external delegate in python Signed-off-by: Finn Williams <Finn.Williams@arm.com> Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Id3b4588fb0b9ac7e3f47ba2c19feead7beb58e18
2021-01-19IVGCVSW-5399 'TfLiteDelegate: Implement the ArgMinMax operators'Sadik Armagan
* Added ARG_MIN and ARG_MAX support to armnn_delegate Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ia000c4b64378e28320164edd4df2902ca13dcda6
2021-01-13IVGCVSW-5625 Add support for Float16 to DelegateNarumol Prangnawarat
* Float16 unit tests for Reshape * Remove unsupported data type from Pad Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Ib1804bb6e708a0552fb40d05fe8a6511936f9793
2020-12-17IVGCVSW-5383 TfLiteDelegate: Implement Pad and PadV2 operatorsNarumol Prangnawarat
* Add Pad and PadV2 operators support to Armnn Delegate * Add dimension check to CompareOutputData test utility * Unit tests Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I9d00eb08f71e791498908fcbdb9de561e1c01aef
2020-12-17IVGCVSW-5374 Provide an Android build for the delegateFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I33eb8c650be654ad891afd2295f2057f13a9d084
2020-12-17IVGCVSW-4625 Add CL Rank WorkloadDavid Monahan
* Added CL implementation of Rank Workload * Removed references to memcpy_s as it's a windows only function Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: Ia63666b9640d76a775f2ab98b3cd7e9f77b5a507
2020-12-17IVGCVSW-5614 Enable Hard Swish and Elu activationsMatthew Sloyan
* Enabled Hard Swish and Elu in TfLiteDelegate * Added support for Elu in TfLiteParser Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: If09321b58568a98e14cabce610a1586556da041e
2020-12-08IVGCVSW-5560 Fix TfLiteDelegate Reshape operator failureMatthew Sloyan
* Fixed issue when running certain models with 2D shape tensor. * Falls back to inbuilt options if encountered. * Fixed ExecuteNetwork so that error messages are logged if NULL. * Updated TfLiteDelegate docs to include Logical Operators. Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Signed-off-by: David Monahan <david.monahan@arm.com> Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I5dbaf30351f7fc86e6178a0caf46c152812088d3
2020-12-07IVGCVSW-5381 TfLiteDelegate: Implement the Logical operatorsMatthew Sloyan
* Implemented Logical AND, NOT and OR operators. * NOT uses existing ElementwiseUnary VisitLayer function & tests. * AND/OR uses new LogicalBinary VisitLayer function & tests. Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: I5e7f1e78b30c36ac7f14c70a712b54f98d664b83
2020-11-30IVGCVSW-5587 Remove Tensorflow requirement from Arm NN TfLite delegateFinn Williams
* Added support for building the delegate with an external armnn path * Replaced potentially troublesome package manager * Explicitly set the privacy levels of delegate libraries * Fixed some error handling in ExecuteNetwork Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I2a7abc099796012cbb043c5b319f81778c9f3b56
2020-11-30IVGCVSW-5374 Provide Android Build for DelegateKeith Davis
* Fix Arm Android Compiler errors Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: If5fae0fda08b6102eb46217564a096f87a3b6740
2020-11-30IVGCVSW-5393 'TfLiteDelegate: Implement the split operators'Sadik Armagan
* Added SPLIT and SPLIT_V support to armnn_delegate Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I2def9b8be783b25ef17a997e521c6027553035d3
2020-11-26IVGCVSW-5384 TfLiteDelegate: Implement the Gather operatorTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Iaf2112363d2b191327711d8e083fee2a751c35c5
2020-11-26Bug fix TfLiteDelegate: wrong operator name in FullyConnected activationTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ic52b27d462f498314050576b5195f759f5f00c63
2020-11-26IVGCVSW-5457 Add How-To documentation for the TfLite DelegateJan Eilers
* Add guide.md to the delegate directory * Mentioned the guide in README.md Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Iaa373ecf28f57f4d8383489fecf43670ae8ca190
2020-11-26Doc update TfLiteDelegate: FullyConnected does not support fused activationTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ie83c3b366214ceff2366c0a20a052582749c4fa4
2020-11-24Fix reshape delegate intermittent errorNarumol Prangnawarat
* Make sue that incorrect corrupted data from reshapeOptions is not used instead of shape from input tensor * Remove redundant check Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Ib30f632b5fdb039a618234c1faae183c98033e57
2020-11-24IVGCVSW-5347 Update Readme for 20.11Teresa Charlin
* Adding delegate readme.md and TensorFlowLiteDelegateSupport.md Change-Id: I1b8012440cf4cd6120902ad69c5b3a2a5e410d71 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
2020-11-23IVGCVSW-5574 Change directory for tensorflow libs for the delegateJan Eilers
* TENSORFLOW_ROOT is already in use with a different expected value Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I199987989678d8712a1f3e0a79ae066376429eec
2020-11-20IVGCVSW-5538 Fix delegate DepthwiseConv2d, DIV, ReshapeNarumol Prangnawarat
* Correct filter shape for DepthwiseConv2d * Remove non-support data type * Allow check for flatten on Reshape Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Ic4be63d7c2f3a2b5e13a1530025a49464c21171b
2020-11-20IVGCVSW-5544 Fix FullyConnected Delegate testsNarumol Prangnawarat
* Correct input shape Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I9d1fe4c8ef32a9dfba7f7fdd6af314e9a522fce8
2020-11-20IVGCVSW-5549 Failing Transpose Conv2d Uint8 testDavid Monahan
* Changing Uint8 tests to Int8 for Delegate Transpose Conv2d * Refactor of Quantization tests to be per backend Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: Ic1528e1dc339030c7f1eed9f3884e99b14f389e4
2020-11-20IVGCVSW-5550 Fix failing delegate Conv2d tests for CpuAcc/GpuAccJan Eilers
Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Ibfd1968a622c2538bbfacf4802cd45096de59db5
2020-11-20IVGCVSW-5564 Disable INT16 delegate quant tests on ACLJames Conroy
* Since NEON/CL do not support QSYMM16 for Quantization, disabling related tests on both backends and running on CpuRef only. Change-Id: Ifbc44cdfb81f25587ef87af8c44243dd88bb25c3 Signed-off-by: James Conroy <james.conroy@arm.com>
2020-11-20IVGCVSW-5567 armnn_delegate Reshape operator failsDavid Monahan
* Changes to the reshape parser to more closely match the TfLiteParser * Added boilerplate checks to avoid potential segfaults with invalid option data * Allow fallback to checking for second input tensor if options with invalid data are passed Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I75c4683148257afc5ce18fafb0b2ac495c5ba2a0
2020-11-19IVGCVSW-5548 Fix delegate ElementwiseUnary tests for CpuAcc/GpuAccJan Eilers
* Apply new test suite structure to be able to filter for backends For ElementwiseBinary and ElementwiseUnary * Add tolerance to data comparison Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Iccabb68f316c93533e1076da5822ebc199e23739
2020-11-19IVGCVSW-5545 Fix delegate Comparison failures on CpuAcc/GpuAccJan Eilers
* Create backend test suite structure * Add special compare function for boolean values Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I55a2ae1ac6ad21cdcdd5ae99ef56ed00fa24776f
2020-11-18IVGCVSW-5397 TfLiteDelegate: Implement the redefine operatorsDavid Monahan
* Adding Reshape definition to ArmNN TfLite Delegate * Added Reshape tests and RedefineTestHelper Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I6d3909689c820387ac0fd4fd3f7ab856ebc25f47
2020-11-18IVGCVSW-5543 Fix delegate Pooling2d failures on CpuAcc/GpuAccJan Eilers
* Added tolerance when comparing data * Removed unsupported int16 tests Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I10f3ac26b894bb1da3af61bfe2d2a41c2f5d2bb1
2020-11-18IVGCVSW-5547 Fix Delegate Softmax failures on CpuAcc/GpuAccJan Eilers
* Changed percentage tolerance to 0.1% Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I3e2294941a29a5f973e3023cb70735562bad4521