aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-07-08IVGCVSW-5005 Fix Deprecated Functions in CL/NEON Resize WorkloadDavid Monahan
* Update CL pin to f3ad9513dd46fca1d6c5e4550286480fdbaba056 IVGCVSW-5005: Fix Deprecated Functions in CL/NEON Resize Workload * Add missing virtual function to NeonIntercepterScheduler * Update CL/Neon Resize Workloads to use ScaleKernelInfo * Update CL/Neon Resize workloads to set correct Sampling Policy for Half Pixels IVGCVSW-4981: Change CL/NEON Softmax axis value * Default value is now 0 Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I8a14c6a64e5a24bc1a66a7d3685cd388c2245702
2020-07-08IVGCVSW-5087 NNT zero sized failing after TensorShape refactorTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I71bf28aae86766db8777b011c769b547436e7d39
2020-07-07Remove new occurence of boost::polymorphic_downcastJan Eilers
Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Id9446c30f6a31c5064bab08b40805e463700072c
2020-07-06IVGCVSW-4624 Add a RANK Reference ImplementationFinn Williams
* Add Rank front end * Add Rank reference implementation * Add Rank serialization support * Add Scalar serialization support Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I06e4a468c2a84e79bae2e6c5348596bbbf853b4b
2020-07-06GitHub #418 AddBroadcastReshapeLayer can cause inputs to be connected ↵Mike Kelly
incorrectly * Fixed issue where AddBroadcastReshapeLayer would always connect the Reshaped input to the first input slot and the other input to the first input slot. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ifd2745a819eb0f72ff9433690afc92a6a34f2ec3
2020-07-06IVGCVSW-4770 Fix segmentation fault in FileOnlyProfilingDecoratorTestsJan Eilers
Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I5725aa418b50fc14ce4e6638fe29a74d762cc304
2020-07-06IVGCVSW-4919 Strided Slice 0 Dimension Tensor FixRyan OShea
* Add check Axis' shrunk to 0 dimensions Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com> Change-Id: Ic2544f7538d2df4a561f88ce8909533424fa2a25
2020-07-06IVGCVSW-4920 Invalid Negative Stride fixRyan OShea
* Add check for negative stride with ShrinkAxisMask Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com> Change-Id: I69ecd2915d94278d6313d8279361c4dc675adb74
2020-07-06IVGCVSW-4988 Add handling output shape parameter to TransposeConvolution2dColm Donelan
* Add m_OutputShape and m_OutputShapeEnabled to TransposeConvolution2dDescriptor. * Update TfLite parser to populate m_OutputShape if found in the model. Handle both Signed32 from tflite files and QAsymmU8 from test fixtures. * Update TransposeConvolution2dLayer to use m_OutputShape instead of InferOutputShapes if specified. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: Ia6933065375eb8006c916f1ca67c38dc50bc205c
2020-07-03IVGCVSW-5020 Refactor TensorShape to host dynamic tensors and scalar valuesTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I63f97fad080dbfeec6433c2548f0311173051a6a
2020-07-01Refactor: Remove need of OutgoingCaptureFile in JSONTimelineDecoderJan Eilers
* moves ownership of the output file to caller of TimelineDecoder * by using ostream the output can be printed to std::cout or any other file stream * updated unit test accordingly Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Iaa8994e9997c674c1a026a65fcbd1ab8e3832d3e
2020-07-01IVGCVSW-4903 Connect axis parameter in Gather from android to ACL.Teresa Charlin
!android-nn-driver:3302 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ifbc49acb5272f8a36719bb68676e44817190537d
2020-06-30IVGCVSW-5007 Implement an Int32 reference Elementwise workloadFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I6592169b74ac4294bc09647879aec0718c641f91
2020-06-30IVGCVSW-4487 Remove boost::filesystemFrancis Murtagh
* Replace filesystem::path * Replace filesystem::exists * Replace filesystem::is_directory * Replace filesystem::directory_iterator * Replace filesystem::filesystem_error exception * Replace filesystem::temp_directory_path * Replace filesystem::unique path * Replace filesystem::ofstream with std::ofstream * Replace filesystem::remove * Replace filesystem::is_regular_file * Replace boost::optional with armnn::Optional in touched files * Remove some superfluous includes * Update build guides, GlobalConfig.cmake and CMakeLists.txt * Remove redundant armnnUtils::Filesystem::Remove function. * Remove redundant armnnUtils::Filesystem::GetFileSize function. Temporarily adding back Boost::filesystem to enable Boost::dll. Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: Ifa46d4a0097d2612ddacd8e9736c0b36e365fb11
2020-06-30IVGCVSW-5036 Do not allocate memory when import is enabledNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Ideaae5280702aae6c73f3b4e4cee9f71a8386fda
2020-06-29IVGCVSW-5021 Fix failure in SplitVJan Eilers
Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I587f601d3e1b9ea11fbc3dc379f24c5ebdcf3cf8
2020-06-26IVGCVSW-4171 Makes DumpOutgoingValidFileEndToEnd test work reliablyJim Flynn
Change-Id: I51f244467a7b562344f04b910fe5be5e2ec0e3dc Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2020-06-26IVGCVSW-5049 Terminate Timeline Packet Processing on ErrorJim Flynn
Change-Id: I2a339da913f18f91734967de2b4a0baa9e2df19b Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2020-06-26IVGCVSW-4919 Mean VTS/NNT FailuresRyan OShea
* Allow output to be reduced to scalar Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com> Change-Id: I3b5a392fe70a84814c523a22d6fe3cf19d74f83f
2020-06-26IVGCVSW-4928 Introduce "ShapeInferenceMethod" Option.Teresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I70ef1a9f3cefa1d4cf9220f0e13131d11e7c6418
2020-06-25Minor improvement of inference profilingDerek Lamberti
* Start inference profiling at the actual beginning * Add profiling events for EnqueueInputs and EnqueueOutputs * Add profiling event for working memory allocation * Refactor Execute body to remove code duplication * forward arguments to constructors rather than copy Change-Id: Iacab85f0a02e88e2423885f86f97e4dba4037319 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2020-06-24IVGCVSW-4770 Fix Segmentation fault while building ArmNNJim Flynn
Change-Id: Ic88c1f12671a0add773a400c6f6880c35ff24a3e Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2020-06-24IVGCVSW-4621 Add CL FILL WorkloadSadik Armagan
* Add CL workload for Fill Operator * Enabled Fill operator tests on CL * CLFill function does not have validate() function yet IsLayerSupported() function return true at the moment * Enabled int32 to tests on backends Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I9f8cc6d1c86f832ba46a8d170572f4cfcde9ab17
2020-06-23IVGCVSW-4622 Add NEON FILL WorkloadSadik Armagan
* Added Neon workload for Fill Operator * Enabled Fill operator tests on Neon * NEFill function does not have validate() function yet IsLayerSupported() function return true at the moment * Added INT32 supported type for CpuRef Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I17bf5ec13750f46322a30653e15ba2a514f61f08
2020-06-23Fix deserializer output binding tensorshape logicJosh Minor
Signed-off-by: Josh Minor <josh.minor@arm.com> Change-Id: I090733fb7b04ac6841a802eeec0fa663f72da9a2
2020-06-23IVGCVSW-4924 Fix edge case for transposeConv2d shape inferenceFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I0147ad10aeb16cf5c876cbf09434279ba6813714
2020-06-23IVGCVSW-5022 Fix master intermittent failure by providing surge buffer capacityJim Flynn
Change-Id: I028aec48d89d7348836223029aa1e8c315f160fa Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2020-06-22Remove per-channel quantization support in ref fully connectedJan Eilers
* was added accidentally Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I332036ffd35868b0fe1226aba5522af3b91d25da
2020-06-20IVGCVSW-4707 - Add AlignCorners and HalfPixelCenters to ResizeDavid Monahan
* Added AlignCorners and HalfPixelCenters Parameters to Resize * Added Unit Tests Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I83420a9bcb7beec9073d201448f64eb53090e1f1
2020-06-17IVGCVSW-4909 Add Quantizer Support for FILL operatorKeith Davis
Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I7ac9600b8956b4fb875f2f7efa061f8dac73d53c
2020-06-17IVGCVSW-4908 Add Serializer/Deserializer Support for FILL operatorKeith Davis
Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: Icae26505d0e378ee5ffb3e92b35d78d48b369d2e
2020-06-17IVGCVSW-4900 Update Timeline Directory Message with new fieldsJim Flynn
Change-Id: I68097e176f7471a18498492b50339e68004dddd5 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2020-06-16MLCE-189 Adding more checks around dynamic backend directory paths.Colm Donelan
* It appears that the customer ends up with an invalid value of sharedObjectPath in GetBasePath. Inserting an explicit check for it. * Also checking the final derived path for the value dynamic backend shared object. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: I8bee4ea8ac2a6b8ad846b9c958731718669455d4
2020-06-15IVGCVSW-4620 Add Fill Reference ImplementationRyan OShea
* Add Fill Reference Implementation * Refactor FP converter to use static_cast Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com> Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I532e2f982981d047690755fac43a0e9cf8b17dcd
2020-06-11Cleaning up unit test GetProfilingGuidGenerator.Colm Donelan
* Removing duplicate check of backendProfilingIface * Removing BOOST_CHECK(firstGuid) which appears to cause problems in v7 environments. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: I0d605e9f42c6557270c12c3e33c0617e2b44ad0d
2020-06-11IVGCVSW-4906 Add front-end support for FILL operatorRyan OShea
* Added new fill layer * Added visitor tests Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com> Change-Id: Iea677014866b4f2d514004623f59ee83f3c0eef8 Signed-off-by: Keith Davis <keith.davis@arm.com>
2020-06-09IVGCVSW-4968 Fix exception handling in TfLiteParser.Colm Donelan
* The function TfLiteParser::CreateNetworkFromModel was continuing to parse the input file even after a fatal exception was encountered. restructure catch exceptions outside the for loop. * Add simple unit tests to test some exception handling. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: I202ca6819d40a47159b4ac8f2847958f945666c2
2020-06-08IVGCVSW-4860 Add tests to verify QLstm projectionJames Conroy
* Adds int16 output tensor to CpuRef impl to prevent overflow when accumulating output after projection. * Adds two remaining tests to verify QLstm on CpuRef. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I93d7c64c4a9cc1012cb2bc052d598d4279fbd372
2020-06-05IVGCVSW-4904 Refactor CpuRef PAD WorkloadSadik Armagan
* Refactored templated workload creation * Added int8_t unit tests Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I018b7f9f20496b5f9d7445901fe0d3dd04199cd0
2020-06-04IVGCVSW-4923 Fix SampleDynamicBackendTests.Colm Donelan
* Remove the check introduced by IVGCVSW-4915. * Check that SampleDynamic is loaded. If not output a detailed message. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: Ib19b238418ea2d9c133e12bd540653ff0969ec5d
2020-06-03IVGCVSW-4915 Improving messages around SAMPLE_DYNAMIC_BACKEND_ENABLEDColm Donelan
* If SAMPLE_DYNAMIC_BACKEND_ENABLED is enabled but DYNAMIC_BACKEND_PATHS is not set then the user gets failing tests cases with no clear idea what has gone wrong. Explicitly failing when DYNAMIC_BACKEND_PATHS has not been set. * Adding an FAQ entry describing how the user can get confused by our documented usage of CMake. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: Ic11e14a971f53a6454962354ff728365ccc9de6d
2020-06-03remove BOM from filesLaurent Carlier
Change-Id: Ia4b4bb3be0ed6e933c77d58f8e9879b1370e9537 Signed-off-by: Laurent Carlier <laurent.carlier@arm.com>
2020-06-02IVGCVSW-4190 Add SplitV to Tflite ParserRyan OShea
* Refactored SplitV * Added unit tests * Updated Documentation Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com> Change-Id: If1dfa5a8780ddf3fe8788ed7bf7fa5fa8dfd14ec
2020-06-02Tidy up uses of Windows.h by adding WindowsWrapper.hppRob Hughes
This header brings in the Win32 API header, with some small modifications applied to prevent clashes with our code. This means those modifications don't need to be made in each place that we bring in Windows.h Change-Id: Ie817c7a167eccbe1ac6a49d3fc940eef8b2f534d Signed-off-by: Robert Hughes <robert.hughes@arm.com>
2020-06-02Fix a few build warnings:Rob Hughes
* Remove redundant asserts for unsigned ints being positive * Remove unneeded include of lightweight_test.hpp header * Remove unused exception variable names * Replace hardcoded 0.0f with T() for some template functions * Add a few static_casts Change-Id: I290b0433cf995f6d0199422eaa10f816e5fd8eb9 Signed-off-by: Robert Hughes <robert.hughes@arm.com>
2020-06-02IVGCVSW-3844 Add CL GATHER WorkloadTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I3d44c05acb40566cd4149417fca5bfd260f301e1
2020-05-30IVGCVSW-4888 Update Resize Front end for new parametersDavid Monahan
* Added AlignCorners and HalfPixelCenters to Resize and ResizeBilinear * Updated Serializer and Serializer tests !android-nn-driver:3280 Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: Ice3bb448c239b04323854641525bfe0808c03b2e
2020-05-29IVGCVSW-3846 Add NEON GATHER WorkloadTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I1a66fdad63cef16866d9dfcb8a339647f856e1d4
2020-05-29IVGCVSW-3847 Correction of 9349246cfce1cc3192aea8fb3a830506cf794abdTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ia69ded99f753e278bc467492907f6a7ca92c7239
2020-05-29IVGCVSW-3847 Support INT32 in Gather operatorTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ica217d3e4fbcdef1315554ea5d5c4720124696c3