aboutsummaryrefslogtreecommitdiff
path: root/src/armnnTfParser
AgeCommit message (Collapse)Author
2020-05-26IVGCVSW-4792 Update armnn readme and support filesNarumol Prangnawarat
* Add TPIP used by Arm NN * Add SqueezeNet to CaffeSupport.md * Add ResNet v2 50 to TensorFlowSupport.md * Update tested networks in TensorFlowLiteSupported.md Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I15927ea600a3dfffee082933d32f235f3940730e
2020-05-25Fix some musl libc issues in armnnFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: Ifb0295ee4516ca6cbd4364ade418b707fb39b354
2020-05-22IVGCVSW-4792 Update armnn readme and support filesNarumol Prangnawarat
* Add Transpose to SerializerSupport.md * Remove ResizeBilinear as it is deprecated layer * Add EXP and SPLIT_V to TensorFlowLiteSupport.md * Add transpose to TensorFlowSupport.md Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I05b0411b61c1b74b27b4669e81fa8ce521bb4190
2020-04-10IVGCVSW-4483 Remove boost::polymorphic_downcastJan Eilers
* exchange boost::polymorphic_downcast with armnn::PolymorphicDowncast * remove unnecessary includes of boost::polymorphic_downcast Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Ie603fb82860fe05fee547dc78073230cc62b2e1f
2020-04-06IVGCVSW-4485 Remove Boost assertNarumol Prangnawarat
* Change boost assert to armnn assert * Change include file to armnn assert * Fix ARMNN_ASSERT_MSG issue with multiple conditions * Change BOOST_ASSERT to BOOST_TEST where appropriate * Remove unused include statements Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I5d0fa3a37b7c1c921216de68f0073aa34702c9ff
2020-03-10IVGCVSW-4482 Remove boost::ignore_unusedJan Eilers
!referencetests:229377 Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Ia9b360b4a057fe7bbce5b268092627c09a0dba82
2020-03-03IVGCVSW-4375 Add parser support for TransposeMike Kelly
* Changed TfParser::ParseTranspose to use Transpose instead of Permute * Changed TfLiteParser::ParseTranspose to use Transpose instead of Permute !armnn:2787 Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: If48f2fb88d97d31d66b6b1e631b41637d8e4c8f0
2020-02-24COMPMID-3060: Add TF Parser support for TransposeSang-Hoon Park
Signed-off-by: Sang-Hoon Park <sang-hoon.park@arm.com> Change-Id: I9661787071554b38c5b0ab3c98431f3863b98520
2020-02-20IVGCVSW-4432 Update Readme for 20.02Sadik Armagan
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I416b39b0adac1410f854d3ec5b855044bd85e1cc
2020-02-18IVGCVSW-2232 Pack/Stack operator support in Tensorflow ParserSadik Armagan
* Parser support and unit tests added for Stack opertor in TfParser Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I243b33fda2762180ef880458e760a54fde64f3d8
2020-02-18COMPMID-3059: Add TF parser support for StridedSliceGeorgios Pinitas
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: I31f25f26a50c9054b5650b1be127c84194b56be7
2020-01-23IVGCVSW-4259 Add frontend and reference workload for UnaryOperationLayerjosh minor
* Added new layer named ElementwiseUnary * Deprecated existing Abs/Rsqrt layer functions * Updated existing Abs/Rsqrt test infrastructure to use new layer * Added boilerplate for new Exp,Neg,Sqrt elemwise op layers * AbsQuantize test removed pending future commit * Serialization support added !android-nn-driver:2550 Change-Id: Ic595c645925e17b45db568187fd05646daf2e87f Signed-off-by: josh minor <josh.minor@arm.com>
2020-01-07IVGCVSW-4246 Enable -Wextra by defaultDerek Lamberti
!referencetests:218340 Change-Id: If24a604310d0363b1f09b406e4d53ebfeb106aad Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2020-01-03IVGCVSW-4246 Clean build of parsers with -WextraDerek Lamberti
Change-Id: Ib00f185b431ab74fd9425d8f478bd2ddb182f74b Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2019-11-29IVGCVSW-4209 Create a public API for the ArmNN UtilsMatteo Martincigh
* Moved the relevant armnnUtils headers to the new location: include/armnnUtils * Update the header usage throughout the source code !android-nn-driver:2387 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: I2ba15cebcacafad2b5a1a7b9c3312ffc585e09d6
2019-11-29Github #306 Treat data_format attribute as optional in ↵Aron Virginas-Tar
TfParser::ParseFusedBatchNorm() Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I1c6583e4abb43b864dc636f8cdcd9011c763a6fe
2019-10-21IVGCVSW-3993 Add frontend and reference workload for ComparisonLayerAron Virginas-Tar
* Added frontend for ComparisonLayer * Added RefComparisonWorkload * Deprecated and removed Equal and Greater layers and workloads * Updated tests to ensure backward compatibility Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Id50c880be1b567c531efff919c0c366d0a71cbe9
2019-08-21IVGCVSW-3507 Fix error in list of tested networks for Tf and TfLite parsersAron Virginas-Tar
* Move DeepSpeaker, FCRN and FSRCNN from TensorFlowSupport.md to TensorFlowLiteSupport.md Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I82d508d3599073eb8f6638994a91f46b4b95c247
2019-08-21IVGCVSW-3507 Revise and update readmes for 19.08Aron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I3da43122240fda7864e0932d47b3efeea8bbed40
2019-08-16IVGCVSW-3639 Add 5d tensor supportMatthew Jackson
* Increased MaxNumOfTensorDimensions and fixed issues related to its use * Fixed issues caused by assuming 5d tensors are invalid * Updated ArmComputeTensorUtils for 5d tensors * Added 5d tensor unit tests for add, mul, stack and reshape (needed by IVGCVSW-3527) Signed-off-by: Matthew Jackson <matthew.jackson@arm.com> Change-Id: I5bcd64942d0d04efcc6c5acb240ad4b88e010743
2019-07-02IVGCVSW-3382 Deprecate ResizeBilinear and use Resize with Bilinear methodAron Virginas-Tar
!android-nn-driver:1451 Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Ieedbce1f6e95891137a250fdd07e2f7e4e1f4828
2019-05-23IVGCVSW-2771 Fix SubTensor error in vgg16 ExecuteNetwork NEONNarumol Prangnawarat
* Add check if Sub-tensors cannot be used, call ACL function * Add computation of SplitAxis from SplitterDescriptor * Add NeonSplitterWorkload functions * Modify IsSplitterSupported to call ACL validate function if sub-tensor cannot be used * Also check if quantization parameters match when using sub-tensors * Add more unit tests for Splitter in TfParser and TfLiteParser Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I31e4c7d055117c83c65b598c4125442173242226
2019-05-14Use the new deprecation APIMatteo Martincigh
* Used the new ARMNN_DEPRECATED_MSG macro instead of @deprecated * Refactored the code to no longer use the deprecated methods where applicable !android-nn-driver:1126 Change-Id: Ib0578d3d6fc5a763f5fb922f67ba91fafc7796f6 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-05-14IVGCVSW-3076 Add ConcatLayer methods to public APIJim Flynn
!android-nn-driver:1120 Change-Id: I5192fa3deb4ea9766d38ad0bf4dfbfa0b4924c41 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-05-02IVGCVSW-3039 Unify BindingPointInfo declarationsJim Flynn
Change-Id: I3deb2b9a37e8a8f8f2ed93c64ed0656ae911e24c Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-04-10IVGCVSW-2947 Remove boost dependency from include/TypesUtils.hppAron Virginas-Tar
!android-nn-driver:968 Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I03ccb4842b060a9893567542bfcadc180bbc7311
2019-04-04IVGCVSW-2539 Improve ExecuteNetwork error loggingFrancis Murtagh
* Add check to ensure requested input node exists otherwise give coherent error message Change-Id: Ifee5f1d459f989c2e808cf78806f9a9a7f7c763f Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
2019-02-28IVGCVSW-2598 Update attribute to use num_splitSaoirse Stewart
Change-Id: I5de0e0a2de9241498213d274a6bf2a62ba7da7cc Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
2019-02-27IVGCVSW-2598 Fix for constant axis issue for Tensorflow ParserSaoirse Stewart
Change-Id: I8b081012529aed8e434273259c5a5ef7dc3afff7 Signed-off-by: Finn Williams <finn.williams@arm.com> Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
2019-02-22IVGCVSW-2588 Update README files for 19.02Nattapat Chaimanowong
*Also update related Support.md files Change-Id: If832980fdebb136ab02333d99512fd39b9093b2b Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
2019-02-21IVGCVSW-2635 Update TensorFlowSupport.mdJim Flynn
* Also fixed a format issue in TfParser.hpp Change-Id: I5b0ae1d5909f03e166a40d3aca8859024cd5e5b6 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-02-20IVGCVSW-2730 Fix bug in TfParser setting incorrect output shape for Addition ↵Nattapat Chaimanowong
Layer *Output shape was incorrectly set for case when the 2 inputs have same number of dimensions and each dimension has different (but broadcast compatible) size Change-Id: Ia617442b2b7f962c33792b94035236d26de70558 Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
2019-02-11IVGCVSW-2529 DeepSpeech v1 testFerran Balaguer
Change-Id: Ieb99ac1aa347cee4b28b831753855c4614220648
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-23IVGCVSW-2515 Fix compilation when TfParser is disabledMatthew Bentham
Change-Id: Ia0019134f76764cd4fe6ed9dc1423b8aba411d33
2019-01-22IVGCVSW-2467 Remove GetDataType<T> functionNattapat Chaimanowong
Change-Id: I7359617a307b9abb4c30b3d5f2364dc6d0f828f0
2019-01-16IVGCVSW-1656 Add Mean support to Tf ParserFerran Balaguer
* Update TensorFlowSupport.md Change-Id: I6fb7f4a4b32397901e0c8b44477a8238879e5917
2019-01-14IVGCVSW-1656 Add Mean support to Tf ParserFerran Balaguer
Change-Id: I3d31d6b72be1984acdb51fd9e7b5488a7aa5d832
2019-01-09IVGCVSW-2345 Add Rsqrt support in Tensorflow ParserMohamed Nour Abouelseoud
Change-Id: I7c7b65bd77b06925efdaf2c9c98c30994a12de42
2019-01-07IVGCVSW-2421 Remove the template-based version of armnnUtils::PermuteMatteo Martincigh
in favor of a type-indepent implementation that takes void-pointers * The new implementation requires the size of the type to be passed to the function * Updated all the usages accordingly * Removed the old implementation no longer used !android-nn-driver:469 Change-Id: I37f4e6d62a38fbb8ec8c39bb559a2c54c83365d4
2019-01-07IVGCVSW-2384 Add Split parser function to Tensor flow parserSadik Armagan
* Added Unit test * Updated TensorFlowSupport.md file Change-Id: I5f07de5e91ffb681c0ad17c7c73ee0326e7f1e0a
2019-01-04MLCE-77 Depthwise Convolution with depth multiplier > 1 doesn't workMatteo Martincigh
* Unified ArmNN's weight format to [ M, I, H, W ] for the depthwise convolution * Added conversion utilities to permute/reshape the weights as appropriate when using CL and Neon backends * Updated the reference implementation of the convolution * Updated the relevant unit tests accordingly !android-nn-driver:459 Change-Id: I07d0818efa9d1ca1e5dad82983aac1fe78eadb18
2019-01-02IVGCVSW-2353 Ignore control inputs in TensorFlow parsernarpra01
* Allow control inputs from TensorFlow graph but ignore them in ArmNN graph. * Add utility function to test ArmNN graph structure. * Add ArmNN graph structure tests in TensorFlow paresr to ensure that control inputs are ignored in ArmNN graph as well as their inputs that are not used anywhere else. Change-Id: Ib0ea0d2df85e3fc79b748fa4c9d20e0649352bc1
2018-12-31IVGCVSW-2375 Add ParseAddN function to TfParserFerran Balaguer
* Unit tests in AddN.cpp Change-Id: Ifb2fa1051d5d92c5d9a5ca751abee4e81ebe39c9
2018-12-20IVGCVSW-2380 Add Greater operator to TfParserjimfly01
* Unit tests in Greater.cpp Change-Id: Ifb3e4c33be2d6235e33889bb63e6abd78bd7d8b6
2018-12-20IVGCVSW-2367 Add Equal Operator to TfParserjimfly01
* Unit tests in Equal.cpp * Fixed error in Network::AddEqualLayer * Refactored TfParser::Minimum/Equal to get rid of duplicate code Change-Id: I0ed6f888eb391c995b88be20dc0c1b916dd14c3c
2018-12-12IVGCVSW-2363 Remove swizzling option from GetConstTensor in TfParser.cppMatteo Martincigh
Change-Id: I9f9852766e4c51151d6ccf34976c4860a83dfe5c
2018-12-11IVGCVSW-2266 Remove the input swizzling from ParseDepthwiseConv2DFerran Balaguer
Change-Id: I72d94fff4cdad2c62dff98c8fd52eba78a1908f0
2018-12-07IVGCVSW-2268 Remove the input swizzling from ParseConcatMatteo Martincigh
* Removed the input swizzling when the concatenation dimension is 3 in ParseConcat in the TF parser * No longer using the helper ProcessConcatInputTensorInfo, where the input was being swizzled if the concatenation dimension was 3 * Added a new convenience constuctor to TensorShape that initializes a shape to all zeros given only the number of dimensions Change-Id: I82a207e41bddc5fea21a0b5a38eafa24ad75d1c2