aboutsummaryrefslogtreecommitdiff
path: root/src/armnnTfLiteParser
AgeCommit message (Collapse)Author
2019-09-10IVGCVSW-3712 Add Transpose into TfLite ParserKeith Davis
Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I94e975ede3876c812f0f26b040e8c50a5597f86a
2019-08-27IVGCVSW-3507 Removed partially supported networksMike Kelly
* FCRN and FSRCNN aren't supported on all backends yet. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ibaddfba731224aac24de05c225fb94efd3fe7f94
2019-08-23Fix Windows build:Rob Hughes
* CMake "install" commands require a RUNTIME argument for platforms with DLLs (e.g. Windows). * Replace use of non-standard variable length array with vector * Remove unnecessary #include of unistd.h * Add #ifdefs to dynamic backend code to disable for non-Unix platforms where you can't use dlopen etc. We could implement this properly for Windows later using LoadLibrary etc., but for now erroring is fine. * Add missing #include of <algorithm> Change-Id: Ic8ef5fd599b37bf8772510157b6e479819f6a1eb
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-21IVGCVSW-3650 Fix Transpose Convolution inputs in TfLite parserMatthew Jackson
* Reordered and edited inputs in ParseTransposeConv method * Updated test cases to reflect changes Signed-off-by: Matthew Jackson <matthew.jackson@arm.com> Change-Id: Icd090cf6ab340eed4f098ef8641daf7c6e0d0949
2019-08-20IVGCVSW-3650 Add TfLite Parser support for Transpose Convolution layerMatthew Jackson
* Added ParseTransposeConv to TfLite Parser * New TransposeConv test file * Updated documentation for supported Transpose Convolution Change-Id: Id7356d8525556805c164af693ae2b16f6a8492fa Signed-off-by: Matthew Jackson <matthew.jackson@arm.com>
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-22Github #229 Remove unused includeMike Kelly
* experimental/filesystem is unavailable in some versions of LLVM Change-Id: I0136bc911f2607561e8000fe9fa7c07f480554b6 Signed-off-by: Mike Kelly <mike.kelly@arm.com>
2019-07-22IVGCVSW-3368 Add reference support for depthwise multiplier > 3Matthew Jackson
* Remove multiplier check in TfLite parser * Add reference unit test for depthwise multipler of 64, as in DeepSpeaker Signed-off-by: Matthew Jackson <matthew.jackson@arm.com> Change-Id: I787339ab4c4d269333985353d191202d070906ba
2019-07-22IVGCVSW-3383 - Add TfLite Parser support for L2 Normalization layerMatthew Jackson
* Added ParseL2Normalization in TfLiteParser * Added new unit tests L2Normalization.cpp * Added documentation for supported L2 Normalization to TensorflorLiteSupport.md Signed-off-by: Matthew Jackson <matthew.jackson@arm.com> Change-Id: I83ea75d1791ac8a00390aed3e5d0a7b337fcd46d
2019-07-17IVGCVSW-3423 Add TfLite parser support for Stack (Pack) layerMatthew Jackson
* Added ParsePack method * New unit test Pack.cpp * Updated TensorFlowLiteSupport.md with new supported operator Signed-off-by: Matthew Jackson <matthew.jackson@arm.com> Change-Id: I2310b33ee26959b036bb4452a25c90cc1d4cbf20
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-06-03MLCE-124 Fix install target wrt serializer and tflite parserMatthew Bentham
Change-Id: If38336f1678504849edb0134a59daae1c8d9ef92 Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
2019-05-30MLCE-119: Allow deph multipliers 2 and 3Pablo Tello
We had check in the parser to catch calls where deph_mult > 1, this came from the time when ACL supported only multiplier == 1. Change-Id: Ic21a2cd6a5bb328d43fc9c667e847429a57760b2 Signed-off-by: Pablo Tello <pablo.tello@arm.com>
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-13MLCE-101: Adding dilation support in conv and dconvPablo Tello
Added support for dilation in DepthwiseConvolution2d in the Neon and CL backends. Change-Id: Ie1522b498c07f80d6efcf9dc79e926c8cfa06ca5 Signed-off-by: Pablo Tello <pablo.tello@arm.com>
2019-05-02IVGCVSW-3039 Unify BindingPointInfo declarationsJim Flynn
Change-Id: I3deb2b9a37e8a8f8f2ed93c64ed0656ae911e24c Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-04-30IVGCVSW-2993: Investigate TfLite Parser test output shape validationNarumol Prangnawarat
* Get outputTensorInfo from runtime outputs to ensure that the results are from the running network Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Ib35afeaf5f6121df7f6379cfc557ae77e5214d69
2019-04-30IVGCVSW-2405 Rename SubGraph to SubgraphViewDerek Lamberti
Change-Id: Ie50aeccf053c20c3a01a75042bbc3acd824375af Signed-off-by: Derek Lamberti <derek.lamberti@arm.com> Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-04-30IVGCVSW-2948 Add DeepSpeech v1 support to TensorFlowLiteSupport.mdNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I18697fde21e90723bcc36cc9cc1b571652fa54e7
2019-04-29IVGCVSW-2996 Add Reshape layer to ParseFullyConnected in TfLite parserNarumol Prangnawarat
when input is > 2D to flatten the input to 2D [batch_size, input_size] Change-Id: Id9d9ff996225c7d0938204ae0ceb330a11e264f5 Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
2019-04-25IVGCVSW-2993: Investigate TfLite Parser test output shape validationNina Drozd
* Added a check after enqueue workload to ensure that the outputs have the correct number of dimensions * OutputTensors cannot be used for this as in RunTest we're specifically creating these with expected number of dimensions Signed-off-by: Nina Drozd <nina.drozd@arm.com> Change-Id: Ib6e5a138240e2f639f462f58caa72ae760e2b406
2019-04-25IVGCVSW-2994 Add Reshape layer to ParseUnpack in TfLite parserNarumol Prangnawarat
to remove the unpacked dimension of each output from Splitter and correct ReshapeFixtureWithReshapeDimsFlatten test output shape Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I517d315475612ac8b773930f9b58cac316fa8553
2019-04-25Remove incorrect documentation lineMatthew Bentham
This line is definitely wrong, plenty of float32 things work in the TFLite parser, so it sets the wrong expectations. Change-Id: I87ac01e14b916ccd767429c124c353ab136174d8 Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
2019-04-18IVGCVSW-2987 Modify ParseSplit in TfLite parserNarumol Prangnawarat
* Allow input data with dimension not greater than 4D * Correct input order * Get split dimension from buffer data * Unit tests Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I285851b19e6fa7c715e5fe4853df167e7c856647
2019-04-17IVGCVSW-2849 Add TfLite Parser support for Rank-0 operands and unit testsNarumol Prangnawarat
Change-Id: I6dab12aed395a30466d66421c6e5a12659fedac8 Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
2019-04-15IVGCVSW-2848 - Add TfLite Parser support for Unpack layerNina Drozd
* Added ParseUnpack in TfLiteParser * New Unpack test file with test reproducing unpack in DeepSpeechV1 model * Added documentation for supported Unpack to TensorflorLiteSupport.md Signed-off-by: Nina Drozd <nina.drozd@arm.com> Change-Id: Ie920d46254ff4b4ab544407ace4c1d489af83157
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-09IVGCVSW-2845: Add TfLite Parser support for TanH activation layerNina Drozd
* Added ParseTanH in TfLiteParser * Added testcase for parsing TanH activation in Activations.cpp * Added new supported TanH operator in TensorflowLiteSupport.md Signed-off-by: Nina Drozd <nina.drozd@arm.com> Change-Id: Ie60f38994d76b077f86828c21c57381bdeeaeb5a
2019-04-08IVGCVSW-2844: Add TfLite Parser support for Split layerNina Drozd
* Added ParseSplit method * New Unit test Split.cpp * Updated TensorflowLiteSupport.md with new supported operator Change-Id: Iec80ba9ad7b48db8e86589ebae77bd7d8ed38fb2 Signed-off-by: Nina Drozd <nina.drozd@arm.com>
2019-03-29MLCE-101 Deeplab v3+ (Add Tf Lite Parser Dilation Check)Kevin May
* Add Parse Exception for convolutions without default dilation Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I1b8f75c2d871d81161eb5378ced277438e809ba2
2019-03-25Use unique names for temporary filesMatthew Bentham
Change-Id: I06653135c5fef38a52995da6c4b6de7ba5786b6a Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
2019-03-14IVGCVSW-2429 Add Detection PostProcess Parser to TensorFlow Lite Parserkeidav01
* Add helper function to generate custom data for detectPostProcess * Test helper function within current test suite Change-Id: I9e66d0a28d69b1376da67723f03b112d17e97281 Signed-off-by: keidav01 <keith.davis@arm.com> Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
2019-03-13IVGCVSW-2735 Failure to find flatbuffers is not a fatal build errorRuomei Yan
!referencetests:176231 Change-Id: Ic8a641507c6af2f38e535b0208eb406e74a334a1 Signed-off-by: Ruomei Yan <ruomei.yan@arm.com>
2019-02-26IVGCVSW-2560 Add support of SSD MobileNet to TensorFlowLiteSupport.mdNarumol Prangnawarat
* Add support for Custom operator - TFLite_Detection_PostProcess * Add Quantized SSD MobileNet to tested networks Change-Id: Id7e729ed02dbc401638b9832c8b9b5d71a6d31b7 Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
2019-02-26IVGCVSW-2560 Verify Inference test for TensorFlow Lite MobileNet SSDNarumol Prangnawarat
* Assign output shape of MobileNet SSD to ArmNN network * Add m_OverridenOutputShapes to TfLiteParser to set shape in GetNetworkOutputBindingInfo * Use input quantization instead of output quantization params * Correct data and datatype in Inference test Change-Id: I01ac2e07ed08e8928ba0df33a4847399e1dd8394 Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
2019-02-26IVGCVSW-2429 Add Detection PostProcess Parser to TensorFlow Lite Parserkeidav01
* Added additional custom option use_regular_nms to JSON string * Renamed use_regular_non_max_suppression to use_regular_nms in parser Change-Id: I5431eabade6337f6f8c3372670862e32e9cda63c Signed-off-by: keidav01 <keith.davis@arm.com>
2019-02-26IVGCVSW-2525 *Update TfLite supported operator listDerek Lamberti
Change-Id: Ia349d71ec966b37feaffb971c7a77bf8cd44501c Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2019-02-25Add strided-slice parser to tf-liteBruno Goncalves
Change-Id: I1821d7e8123c76823562dd2e8822c5293fcb18c3 Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com>
2019-02-25Add minimum parser to tf-liteBruno Goncalves
Change-Id: I617c2715e0fb8d01b96fa9d3d5d9a16a33477b66 Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com>
2019-02-25Add maximum parser to tf-liteBruno Goncalves
Change-Id: Idaf6dd3f4d96dad01e1dc1a0d3fd6c146780626d Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com>
2019-02-22Add space-to-batch-nd parser to tf-liteBruno Goncalves
Change-Id: I3bf86d44f811380559ec35eed0bc43b3bd97da80 Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com>
2019-02-22Add batch-to-space-nd parser to tf-liteBruno Goncalves
Change-Id: I1e210f88f19f38ab719008e119c8fed153a3dd95 Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com>
2019-02-22Add resize-bilinear parser to tf-liteBruno Goncalves
Change-Id: Id35db981b38348e5a941cfbb4cbdfe8cd617a254 Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com>
2019-02-22Add sub parser to tf-liteBruno Goncalves
Change-Id: I0e63d81d95528e6c278dc5fa8b87ccc1f8798130 Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.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-2429 Add Detection PostProcess Parser to TensorFlow Lite Parserkeidav01
* Added parser function in TFLiteParser * Removed custom options gating * Added unit test * Removed template usage in VerifyTensorInfo for DeserializeParser Change-Id: If198654ed70060855a05f8aaed010293405bd103 Signed-off-by: keidav01 <keith.davis@arm.com>