aboutsummaryrefslogtreecommitdiff
path: root/delegate
AgeCommit message (Collapse)Author
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-20IVGCVSW-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-20IVGCVSW-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
2020-11-18IVGCVSW-5377 'Add ArmNN TfLite delegate to ExecuteNetwork'Sadik Armagan
* Assign correct input values for the model * Call the right Validate function for Mul and Sub operators * Return the correct data type for kTfLiteInt8 Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I6d23adf68d33d8be9a1fbf5d19dfe47939a6d3d6
2020-11-17IVGCVSW-5377 Add ArmNN TfLite delegate to ExecuteNetworkSadik Armagan
* Added package manger to turn internal calls to find_package into a no-op * Changed delegate cmake so it can now be built within armnn Change-Id: I2a7ecb9a3c1ca05474cd1dccd91498f6f6c0b32e Signed-off-by: Finn Williams <Finn.Williams@arm.com> Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
2020-11-17IVGCVSW-5395 TfLiteDelegate: Implement the Softmax operatorsJames Ward
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I9f098c6b62ebb08e727aa8547e08bddc0b814705
2020-11-17IVGCVSW-5382 TfLiteDelegate: Implement the Activation operatorsDavid Monahan
* Added TfLiteDelegate implementations for ReLu, Relu6, Logistic, and TanH Activation Functions Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: Id021b4ec9c10fd4357535fe2a665f32c053dad61
2020-11-17IVGCVSW-5539 'Elementwise layers with const tensors are not connecting up'Sadik Armagan
* Added Constant Input support to ElementwiseBinary Layers Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I1d429fd7958fe2aa53f06c229a863243569c0d71
2020-11-17IVGCVSW-5486 TfLiteDelegate: Implement Concat and Mean operatorsMatthew Sloyan
* Implemented Concatenation & Mean operator. * Added unit tests for Concatenation & Mean operator. * Added CompareOutputData function to TestUtils.hpp. Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: I31b7b1517a9ce041c3269f69f16a419f967d0fb0
2020-11-17IVGCVSW-5385 Use specific data-type instead of auto (Transpose TfLiteDelegate)James Ward
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I0227c8af5ea70976973291614859d956e48d267a
2020-11-17IVGCVSW-5463 Change cmake version for delegate to 3.7Jan Eilers
Signed-off-by: Jan Eilers <jan.eilers@arm.com> Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: Idb3f9018a22d0f63c0f993fdfd282a1195454ac9
2020-11-16IVGCVSW-5508 Activate compiler warnings in ArmNN TfLite DelegateFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I1a8e2aa618ff693c61010e6150f3ca41b8ab1201
2020-11-16IVGCVSW-5385 TfLiteDelegate: Implement the Transpose operatorJames Ward
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: Iea3d7ecccb82d85ec2d2c5cfdcdaf692236a60aa
2020-11-16IVGCVSW-5338 TfLiteDelegate: Implement the Convolution operatorsSadik Armagan
* Add Convolution, DepthwiseConvolution and TransposeConvolution Signed-off-by: Kevin May <kevin.may@arm.com> Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I797e42844dfee0cc80beb64eabc3111b96320daf
2020-11-12IVGCVSW-5396 TfLiteDelegate: Implement the Resize operatorsJan Eilers
* Added resize biliniear and nearest neighbour operator support to the tflite delegate Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Id0113d6b865ea282c6f4de55e8419a6244a35f0e
2020-11-12IVGCVSW-5504 'TfLiteDelegate: Introduce FP16 and BackendOptions'Sadik Armagan
* Added BackendOptions creations of armnn_delegate * Included armnn/third-party the armnn_delegate unit tests * Updated the CreateConstTensor function Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I8e2099a465766b905bff701413307e5850b68e42
2020-11-11IVGCVSW-5387 TfLiteDelegate: Implement the Pooling operatorsNarumol Prangnawarat
* Add support for AveragePool2d and L2Pool2d operators * Unit tests Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Ida3c2e80120bce2991035f143e9eb5b9480b0e4b
2020-11-10IVGCVSW-5389 'TfLiteDelegate: Implement the FullyConnected operator'Sadik Armagan
* Added FullyConnected operator support to delegate Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Iae9c0980a4bfd6aa4d90f107f329dfa782baeefe
2020-11-10IVGCVSW-5387 TfLiteDelegate: Implement the Pooling operatorsNarumol Prangnawarat
* Implement MaxPool2d operators * Add QAsymmS8 to armnn delegate * Unit tests Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I1815ade6ccda3e9331bd3a68e164be0f6947e9df
2020-11-10IVGCVSW-5398 TfLiteDelegate: Implement the Quantization operatorsMatthew Sloyan
* Enabled quantization operators DEQUANTIZE and QUANTIZE. * Implemented unit tests for quantization operators. * Added utils function for checking if affine quantization. Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: I84b5c75bda629d9234f5ed198b04f527705a54aa
2020-11-10IVGCVSW-5380 'TfLiteDelegate: Implement the Comparison operators'Sadik Armagan
* Implemented Comparison Operators * Added unit tests Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Icdc0f7c6a286a8364a2770b26d15e8958291dc2b
2020-11-10IVGCVSW-5379 'TfLiteDelegate: Implement the ElementWiseBinary operators'Sadik Armagan
* Enabled elementwise binary operators DIV, MAXIMUM, MINIMUM, MUL, SUB * Implemented unit tests for elementwise binary operators Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I196998d53201a6e8888bb203eb640530b8feeac9
2020-10-29IVGCVSW-5379 'TfLiteDelegate: Implement the ElementWiseBinary operators'Sadik Armagan
* Implemented ADD operator * Implemented FP32 unit tests for ADD operator Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Id7238749308855bd2b2118f4b6e60e765815c38f
2020-10-28IVGCVSW-5378 'TfLiteDelegate: Implement the ElementWiseUnary operators 'Sadik Armagan
* Moved ElementwiseUnary operators tests into single file * Implemented FP32 test for supported ElementwiseUnary operators Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I4b7eab190c3c8edb50927b8e1e94dd353597efcb
2020-10-27IVGCVSW-5366 'Add a do nothing SubGraph class'Sadik Armagan
IVGCVSW-5373 'Implement the ABS operator in the Delegate' * Added a Switch statement into the VisitNode() function * Separated the Visit functions into the categorized source files * Implemented VisitElementwiseUnary() function * Added tests for ABS and SQRT Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: If9654d0a8d8ff7dcd6fb5cbe0dc312941772affb
2020-10-19IVGCVSW-5365 'Create the TfLite Delegate subdirectory in ArmNN'Sadik Armagan
* Created delegate sub-directory under armnn * Created Delegate, ArmnnSubgraph and DelegateOptions classes * Created cmake files. * Integrated doctest (under MIT license) as testing framework Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: If725ebd62c40a97c783cdad22bca48709d44338c