aboutsummaryrefslogtreecommitdiff
path: root/src/armnnTfLiteParser
AgeCommit message (Collapse)Author
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>
2019-01-29Added ConstantLayer support to TfLiteParserBruno Goncalves
Change-Id: Iecc4fe8208b442d9c872e56c3d47249f959c6cc1
2019-01-25IVGCVSW-2563 Fix bug in TfLiteParser::ParseConcatenationNattapat Chaimanowong
Change-Id: I8fbf27b383a821e062f72809cc2e269fcd18851c
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-2534 Fix bug TfLiteParser::ParseReshape()Aron Virginas-Tar
Change-Id: I44d63552d2552842f02b2c870466851581f65b1a
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-2467 Remove GetDataType<T> functionNattapat Chaimanowong
Change-Id: I7359617a307b9abb4c30b3d5f2364dc6d0f828f0
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-16Github issue #120 - Embed TfLite schemaMatthew Bentham
Change-Id: I57375375b2f3f59b89dbf45750f733bf25b5eb90
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-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
2018-12-17IVGCVSW-2395 TfLiteParse::ParseReshape doesn't support reshape inputkevmay01
Change-Id: If2a31a49df3701877ce0287a81c569334a24cd20