aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-01IVGCVSW-2603 The macros ARMCOMPUTECL_ENABLED and ARMCOMPUTENEON_ENABLEDMatteo Martincigh
no longer work * Added two master variables ARMNN_COMPUTE_CL_ENABLED and ARMNN_COMPUTE_NEON_ENABLED to android-nn-driver/Android.mk to easily control backend support * Setting either of those two new variables then properly sets the corresponding build macro * If a specific backend gets disabled, the corresponding source files will be excluded from the build * Unified the usage of the pre-compile macros !android-nn-driver:613 Change-Id: I582ff73493b70ba9e22ca2e38d875a0f19566c8a Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-02-01IVGCVSW-2604 Fix bug that made it impossible to execute inference tests on ↵Aron Virginas-Tar
certain backends * Read compute devices from the CL as strings and convert them into BackendId objects afterwards Change-Id: Icded1c572778f5a213644e3052ff6dfe7022128b Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
2019-01-31IVGCVSW-2471 Code cleanup where necessaryMatteo Martincigh
* Added comments for the new API functions * Added comments to some critical parts of the code * Removed unnecessary code Change-Id: I04d4e7373b45b8a3806cacc93a8bd09351c0972a Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-01-31MLCE-90 Fixing issues with NEON pad testsÉanna Ó Catháin
Change-Id: I3e971c66798610d2c96445fa3babb7cc90cf8031 Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
2019-01-31IVGCVSW-2601 Fix for ExecuteNetwork output data printing bugAron Virginas-Tar
Change-Id: I7e8d377cdbddf0176ae05d8b6b2fd03c6f614168 Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
2019-01-31IVGCVSW-2564 Fix output buffer initialization bug in ExecuteNetworkAron Virginas-Tar
Change-Id: I69eac52c9c944a5d209c5c7432c1b7f46e64f05b Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
2019-01-30IVGCVSW-2522 Add DCO requirement to Contributor GuideMatthew Bentham
Change-Id: Ieb3d69317395ef4ed1ef631ae98b4277db3d2e49 Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
2019-01-30IVGCVSW-2579 Create Flatbuffers schema for simple Armnn networkNattapat Chaimanowong
Change-Id: Ief6b1891a362f0f9bc3d388634ec551ab742503d
2019-01-30IVGCVSW-2458 Refactor the Optimize function (Network.cpp) so thatMatteo Martincigh
subgraphs are optimized by the backends * Added a new method OptimizeSubGraph to the backend interface * Refactored the Optimize function so that the backend-specific optimization is performed by the backend itself (through the new OptimizeSubGraph interface method) * Added a new ApplyBackendOptimizations function to apply the new changes * Added some new convenient constructors to the SubGraph class * Added AddLayer method and a pointer to the parent graph to the SubGraph class * Updated the sub-graph unit tests to match the changes * Added SelectSubGraphs and ReplaceSubGraphConnections overloads that work with sub-graphs * Removed unused code and minor refactoring where necessary Change-Id: I46181794c6a9e3b10558944f804e06a8f693a6d0
2019-01-30IVGCVSW-2437 Inference test for TensorFlow Lite MobileNet SSDAron Virginas-Tar
Change-Id: If7ee1efa3ee79d9eca41c5a6219b3fc42e740efe
2019-01-30IVGCVSW-2564 Add support for multiple input and output bindings in ↵Aron Virginas-Tar
InferenceModel Change-Id: I64d724367d42dca4b768b6c6e42acda714985950
2019-01-29IVGCVSW-2549 Add name only layer unit tests for VisitorFrancisMurtagh
Change-Id: I304ddd3efa2f1c5a8e2143276a97c031a624601e
2019-01-29Added ConstantLayer support to TfLiteParserBruno Goncalves
Change-Id: Iecc4fe8208b442d9c872e56c3d47249f959c6cc1
2019-01-29IVGCVSW-2569 Add implementation of ConstTensor Accept functionsjimfly01
* Create the required ConstTensors and pass them to the appropriate visit method. Back fill of dummies added during IVGCVSW-2547 * Moved the VisitDetectionPostProcessLayer function declaration in ILayerVistor to its correct location after the VisitDepthwiseConvolution2dLayer functions. Change-Id: I0bd2f8c3603cbdb933b1216ead96dd8273eb5013
2019-01-29IVGCVSW-2443 Add Cl support for Greater operatorNattapat Chaimanowong
Change-Id: I7eb3b2e712dbaa5c13f6cf3a1da63df4d2bd4de5
2019-01-29IVGCVSW-2447 Add Greater Workload to Neonkevmay01
Change-Id: Ic165061cc61534e7e391a398ea7c2918240e2d3b
2019-01-28IVGCVSW-2548 Add member function to check layer pointer not nullFrancisMurtagh
Change-Id: I48c8795e546e3a36414ae88316908519d5879628
2019-01-28IVGCVSW-2575 Update CL pin to latest masterConor Kennedy
!android-nn-driver:586 Change-Id: Ib881710f438887df0a95d776b51a5c0d2bf002dd
2019-01-28IVGCVSW-2548 Add the TestLayerVisitor classFrancisMurtagh
* Add abstract base class TestLayerVisitor Change-Id: Id453f3ad9721f3680166a41b75a1880cf20032f7
2019-01-25IVGCVSW-2556 Add Layer implementation for Detection PostProcessNarumol Prangnawarat
* Add DetectionPostProcessDescriptor. * Add implementation for DetectionPostProcessLayer. * Unit test to validate output. Change-Id: If63e83eb2a2978c549071c7aeb272906e7c35fe9
2019-01-25MLCE-84 Add Neon Pad support and unit testsÉanna Ó Catháin
Change-Id: I0d949a9f23a61af5013efdd18572b29fae585f2a
2019-01-25IVGCVSW-2547 Add Accept function to IConnectableLayerjimfly01
* Layers which callback VisitXXXLayer with ConstTensor have been implemented with dummies to speed up implementation and unblock IVGCVSW-2531 Change-Id: I49b8035f12ec72d6bd6cee95075692f98c48e193
2019-01-25IVGCVSW-2563 Fix bug in TfLiteParser::ParseConcatenationNattapat Chaimanowong
Change-Id: I8fbf27b383a821e062f72809cc2e269fcd18851c
2019-01-25Github issue #127 - Use https to check out ComputeLibraryMatthew Bentham
Change-Id: I55f2f21b0603055787a174269ed74b99f84ec29c
2019-01-24IVGCVSW-2503 Fix end to end test support for Boolean output typeNattapat Chaimanowong
Change-Id: Ie94743c769fc17d976849ba4b22af3a13561ff55
2019-01-24IVGCVSW-2554 Update NEON scheduler to output workload names rather than unknownsaoste01
Change-Id: I0d14baf9002c894790da171a6d60c0e4ac929078
2019-01-24IVGCVSW-2555 Add no-op implementation for Detection PostProcessNarumol Prangnawarat
* Added DetectionPostProcessQueueDescriptor to WorkloadData * Added CreateDetectionPostProcess function in WorkloadFactory.hpp * Added stub implementation of the CreateDetectionPostProcess in workload factories * Added DetectionPostProcessLayer stub implementation * Added AddDetectionPostProcessLayer to Network * Added IsDetectionPostProcessSupported to LayerSupportBase Change-Id: Ifc071b3b6b12877c997bdcc43d769c8f891d5c6c
2019-01-24IVGCVSW-2503 Refactor RefElementwiseWorkload around Equal and Greaterkevmay01
* Remove Equal and Greater from RefElementwiseWorkload * Create RefComparisonWorkload and add Equal and Greater * Update ElementwiseFunction for different input/output types * Update TfParser to create Equal/Greater with Boolean output * Update relevant tests to check for Boolean comparison Change-Id: I299b7f2121769c960ac0c6139764a5f3c89c9c32
2019-01-24IVGCVSW-2512 Add Gather operator parser to TfParserFrancisMurtagh
* Add ParseGather to TFParser * Add Unit tests for Gather Operator !armnn:562 Change-Id: Idff45c2d3d8d683aa9eb2c4a63123c8d6054609e
2019-01-24IVGCVSW-2546 Add ILayerVisitor to the public APIjimfly01
Change-Id: I803de435a538856de2daa7872e27d3f5beabba4f
2019-01-24IVGCVSW-2430 Add logistic parser to tf-liteFinn Williams
* Added implementation and unit tests for sigmoid function for tf-lite parser * Refactored relu, relu6 and logisitc parser to reduce code duplication Change-Id: I00a2bd90bbc9144a2f84981f63b2cd1756b68a16
2019-01-23IVGCVSW-2511 Add end to end Gather layer testnarpra01
* Add end to end test for Gather operator * Add Support for int32 to Constant layer for Ref * Add Int32Workload * Add RefConstantWorkload as template for float, uint8, int32 * Remove unused RefBaseConstantWorkload * Remove unused RefConstantFloat32Workload * Remove unused RefConstantUint8Workload * Add support check for int32 in LayerSupport functions Change-Id: Ic970588a49ebe2aafb12be8adef52371feacaa7b
2019-01-23IVGCVSW-1048 RESIZE_BILINEAR NEON operatorSadik Armagan
* Implemented NeonResizeBilinearWorkload * Enable ResizeBilinear Operator unit tests for Neon !android-nn-driver:405 Change-Id: Iec3100ccaf7d246e8eaf683d1f3ec9191df5241e
2019-01-23IVGCVSW-2534 Fix bug TfLiteParser::ParseReshape()Aron Virginas-Tar
Change-Id: I44d63552d2552842f02b2c870466851581f65b1a
2019-01-23IVGCVSW-2545 Update CL pin to latest mastersaoste01
Change-Id: If6a211ce8a25cf95bb8b02851694e9502d25e671
2019-01-23IVGCVSW-2455 Move the extra backend code to a new git repoMatteo Martincigh
* Refactored all the workload factories to use "virtual" properly * Removed the precompiled layer support from the optimizer * Disabled compiler optimization for debug build to ease debugging Change-Id: I6ab83abd78f422771359295e25b79bb9be613cfd
2019-01-23IVGCVSW-2467 Update Boolean type supportNattapat Chaimanowong
Change-Id: I0ab3339e8803a3e4e700d8fec9883eccc524b31e
2019-01-23IVGCVSW-2515 Fix compilation when TfParser is disabledMatthew Bentham
Change-Id: Ia0019134f76764cd4fe6ed9dc1423b8aba411d33
2019-01-22IVGCVSW-2510 Ref workload implementation for Gather operatornarpra01
* add implemenentation for GatherQueueDescriptor validate function * add FirstInputTypedWorkload to allow type check on the first input tensor only * add ref workload implemenentation for float and uint8 * add Gather layer support in Ref * unit tests Change-Id: I4578a3211f11d24aa29d15bcf7f45b0445bcd1ee
2019-01-22Fix compilation wrt IVGCVSW-2467Matthew Bentham
Change-Id: I073473774e302c2d77e717e1ad718594ce1b5feb
2019-01-22Added AddBroadcastReshapeLayer method to TfLiteParserBruno Goncalves
Change-Id: I6027f6dcdb3ed23505f0a9c780bd3e3d45d3daff
2019-01-22IVGCVSW-2509 Add GatherLayer implementationnarpra01
* implementation of ValidateTensorShapesFromInputs * unit tests Change-Id: I1ed88f8ba0ea20329a259c5f36caea4b1fbeb013
2019-01-22IVGCVSW-2467 Remove GetDataType<T> functionNattapat Chaimanowong
Change-Id: I7359617a307b9abb4c30b3d5f2364dc6d0f828f0
2019-01-22IVGCVSW-2535 Fix crash in ExecuteNetwork when no compute device is specifiedAron Virginas-Tar
Change-Id: If8d6516286557a6381561805cd53b5659b38f6a6
2019-01-21Added ParsePad method to TfLiteParserBruno Goncalves
Change-Id: I2e671f66cf1b0a24b4ca9e96b554dc7db3af9655
2019-01-18Added ParseMean method to TfLiteParserBruno Goncalves
Change-Id: Idfedf82479fb3d4bb2962fc3cfc6c76e57331943
2019-01-18Added ParseMul method to TfLiteParserBruno Goncalves
Change-Id: I72e61a5ece52d69b289a1559907e2fb3084bfa4a
2019-01-17Added ParseAdd method to TfLiteParserBruno Goncalves
Change-Id: I24d916eca8ef1efb70d08b5c4f5123bb56a76c3e
2019-01-16IVGCVSW-2508 Add no-op factory implementations and layer for Gather operatornarpra01
* Added GatherQueueDescriptor to WorkloadData * Added CreateGather function in WorkloadFactory.hpp * Added stub implementation of the CreateGreater function in workload factories * Added GatherLayer stub implementation * Added AddGatherLayer to Network * Added IsGatherSupported to LayerSupportBase Change-Id: I0408fd54e88a7d4e3d9e1c2811a9323f0da52a04
2019-01-16Github issue #120 - Embed TfLite schemaMatthew Bentham
Change-Id: I57375375b2f3f59b89dbf45750f733bf25b5eb90