aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-14IVGCVSW-3069 Add documentation for ModelAccuracyTool-ArmnnConor Kennedy
Signed-off-by: Conor Kennedy <conor.kennedy@arm.com> Change-Id: I1e128982ba0e1c99ee4532276f679dda37095201
2019-05-14MLCE-101 Add default dilation depthwise convolution implementationMatteo Martincigh
to LayerSupportBase Change-Id: Ib075a53cfe639e2624910a767abac6cba0fee8ed Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-05-14MLCE-101 Add dilation support for DepthWiseConv workloadBruno Goncalves
Adds unit tests for dilated depthwise conv Change-Id: Iad0a1b33d07fb0ef8f9f6edf0fd0f83a5800a36d Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com> Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
2019-05-13MLCE-101 Add dilation parameter to serializerMatthew Bentham
Change-Id: I8142e179d38c7a2a9163cf3d30bd1f411e8e109c Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
2019-05-13MLCE-101 Add dilation support to reference backendMatthew Bentham
Change-Id: I6d1ea80c9fabd8c50ee030272c51cb66e85e431d Signed-off-by: Matthew Bentham <Matthew.Bentham@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-13IVGCVSW-3035 Correct gamma variable nameNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I309dd176fe6ce1216f4259c24c306c7592827841
2019-05-13IVGCVSW-3058 Segmentation fault running Resnetv2.50 tfite int8 modelMatteo Martincigh
* The execution crashed because the weights of a convolution were null during the network execution * Copied the weights and bias when folding a pad layer into a convolution Change-Id: I3ae72143d04cac90d4f878cdf3b1a08b2f2a5c90 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-05-13IVGCVSW-3013 Add unit tests for QSymm16 LSTMConor Kennedy
* Add unit tests for QSymm16 LSTM * Update supportedTypes in WorkloadData & RefLayerSupport with DataType::QuantisedSymm16 Change-Id: I1a2627b11b707d68d7d7002f63b985f9571ee177 Signed-off-by: Conor Kennedy <conor.kennedy@arm.com>
2019-05-13IVGCVSW-3070 Add Documentation for ImageTensorGenerator & ImageCSVFileGeneratorConor Kennedy
Signed-off-by: Conor Kennedy <conor.kennedy@arm.com> Change-Id: I071225a812e6f85b6abe83172be71913186523f4
2019-05-10IVGCVSW-2834 Fix Input TensorInfo in Quantization DataSetNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I694124aa15ef2fd368d5e6e36da8b942ae270850
2019-05-10IVGCVSW-3034 Adding a unit test to check substituteSubGraphDavid Monahan
now works when substituting layers from another Graph Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: Iebd21a4975dd0ea1fc9d62708555dae4b1809623
2019-05-10IVGCVSW-3063 Modify Quantizer tool to take command line inputÉanna Ó Catháin
for preserving input/output types Change-Id: Ib30f1e2e58407526cd881fec33f45fc4e4ed4afe Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
2019-05-10IVGCVSW-3034 Updates to SubstituteSubGraph andDavid Monahan
ReplaceSubgraphConnections to support Graphs instead of SubGraphViews * Added layer iteration function to SubgraphView similar to the Graph's one * Updated SubstituteSubgraph to reparent the layers to the calling graph Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: Ib2f8e70decca4a59c53ceb127e07ef5a430d1005
2019-05-10IVGCVSW-2990 Add deprecation helpersDerek Lamberti
Change-Id: Ie13aa6aee9e4da14a0ca8779c95dfd647b656f95 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2019-05-10IVGCVSW-3030 Refactor code and fix OptimizeSubgraphViewMatteo Martincigh
* Refactored the Optimizer code for readibility, in view of upcoming changes * Rename one of the ISubgraphViewConverter interface methods to give it a more meaningful name * Improved the OptimizationViews class, added comments and useful funtion overloads * Fixed an error in the default implementationof the new OptimizeSubgraphView method in IBackendInternal Change-Id: I683a56d562aa093bac06f0e83fb13e144ed81485 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-05-10IVGCVSW-3030 Added move operators to the Graph classMatteo Martincigh
* Updated the LayerInGraph class to properly support the new Reparent operation * Improved the Graph class destruction process to take into account eventual reparent layer operations * Added new ForEachLayerInGraph utility function to safely loop through all the layers in the graph Change-Id: Ie67cbdee0c3c8625662ebfa00f860ae0d2fac59c Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-05-10IVGCVSW-3061 Modify NetworkQuantizer to support option to preserve ↵Nattapat Chaimanowong
input/output types * Also add unit tests for new preserve type option Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com> Change-Id: I860759072f2e3546698118d1bcd5e79eb4e805ec
2019-05-09IVGCVSW-3072 Add MergerLayer Deserialise Backcompat testJim Flynn
Change-Id: Ib8ce6f8db6de0ac4df92fa4c999fe3c78705ec7e Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-05-09IVGCVSW-3030 Make the OptimizationViews class move-assignableMatteo Martincigh
* Added move-constructors and move-assigment operators to both the OptimizationViews and Graph classes Change-Id: I3f923dc58e849479ff6589dcd39dece2790172cb Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-05-09IVGCVSW-2900 Adding the missing option to build the Accuracy ToolÉanna Ó Catháin
to the GlobalConfig.cmake Change-Id: I7f7e3e36fa66c5cd5b2248cab6f2b9b90d65d1a4 Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
2019-05-09IVGCVSW-3031 Reparent layer to new graphDerek Lamberti
Change-Id: Ic4423b8d21d794f44ddae291853e0e3b89d11bc0 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2019-05-08IVGCVSW-2833 Add Dynamic QuantizationJim Flynn
Change-Id: Iba91e3f3625639f01d66f81a9f3e419e0e285d66 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-05-08IVGCVSW-2900 Adding the Accuracy Checker Tool and testsÉanna Ó Catháin
Change-Id: I4ac325e45f2236b8e0757d21046f117024ce3979 Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
2019-05-08IVGCVSW-3031 Finer grained backend optimization APIDerek Lamberti
Change-Id: I9b93bc81b97f3d89fa046ba001854f732040e63a Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2019-05-07IVGCVSW-3067 Fix issue with QuantizerVisior not setting TensorShape correctlyNattapat Chaimanowong
* Also update unit tests for the quantizer to check the input and output shape of the network Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com> Change-Id: Ie804d852f2a4770d98dfb4dab6415f3d0fdd2ce4
2019-05-07IVGCVSW-2997 Refactor reference LSTM workloadNattapat Chaimanowong
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com> Change-Id: I6883f878d9f701a55153292769d2fc0530d2529e
2019-05-07IVGCVSW-2989 Generate subgraphs without cyclic dependenciesDerek Lamberti
Change-Id: I45f81aa4ca8a964e423594fe271825c4a52b21f4 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2019-05-07IVGCVSW-3038 Move MakeInputTensors to armnnUtilsJim Flynn
Change-Id: I4352a645badde788b9e33b3675a9cc9c0fc3dc33 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-05-03IVGCVSW-3030 Update the backend code to create also a list ofMatteo Martincigh
non-optimized SubgraphViews * Removed pointless CreateSubgraphViewConverter method in the IBackendInternal interface Change-Id: Ie2d3c0e74fb3d53e67f76924ac6d05050a5e6e2e Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-05-03IVGCVSW-3014 Add GetSupportedBackends to IDeviceSpecNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I8d6474389376f715074bfa7a75613dbda35bcc6a
2019-05-03IVGCVSW-3029 Remove any AddLayer capabilities from SubgraphViewMatteo Martincigh
* Removed the reference to the parent graph in SubgraphView * Removed the AddLayer method in SubgraphView * Updated the code where necessary to adapt to the new changes in SubgraphView * Fixed a check in the CreatePreCompiledWorkloadTest test function Change-Id: I4d3af87f11ec3cd8f18a21b250a2d295da56e1a0 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-05-03IVGCVSW-2834 Add dynamic quantization via datasetsNina Drozd
* Add QuantizationDataSet class for quantization data parsed from CSV file * Add QuantizationInput for retrieving quantization data for each layer ID * Add unit tests for command line processor and QuantizationDataSet Change-Id: Iaf0a747b5f25a59a766ac04f7158e8cb7909d179 Signed-off-by: Nina Drozd <nina.drozd@arm.com>
2019-05-03IVGCVSW-3003 Fix the bug in setting the same tuningLevel in the constructorRuomei Yan
Change-Id: I53bd3a8e8f846edbebb1598559f3541698e647e5 Signed-off-by: Ruomei Yan <ruomei.yan@arm.com>
2019-05-02IVGCVSW-3039 Unify BindingPointInfo declarationsJim Flynn
Change-Id: I3deb2b9a37e8a8f8f2ed93c64ed0656ae911e24c Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-05-02IVGCVSW-2941 THIRD_PARTY_INCLUDE_DIRS is not set in ↵Sadik Armagan
armnn/tests/CMakeLists.txt for external builds * Added stb_image libraries under third-party/stb_image * Updates test/CMakeLists.txt to include those stb_image libraries * stb_image libraries are dual-licensed under public domain and MIT Change-Id: Ic179928598bb236d39fb5992042183099e78a0d7 Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
2019-04-30IVGCVSW-2773 Integrate new CL tuner into ArmNNRuomei Yan
!android-nn-driver:1038 Change-Id: Ia94743a64109b5eddcd44b03cf6ba5b3a4de4e53 Signed-off-by: Ruomei Yan <ruomei.yan@arm.com>
2019-04-30IVGCVSW-3021 Add end-to-end flow control integration testMatthew Bentham
Currently asserts that the net fails to optimise as that is the expected behaviour, but it's complete enough to exercise most of the code in SwitchLayer.cpp and MergeLayer.cpp Also, fix a bug in SwitchLayer::ValidateTensorShapesFromInputs found by the new test. Also, make topological sort slightly more robust to missing connections as it should not be the job of the sorter to validate the graph. Change-Id: I30b9e2d4769ab14a6820284871a79a5bb3eef1ef Signed-off-by: Matthew Bentham <matthew.bentham@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-2983 activation layers support for QSymm16Teresa Charlin
!armnn:1023 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ie4e5c4e7cb9edec690235393fff0721fca5da6cc
2019-04-29Fixing a broken link to MLPlatform.orgBrian Joyce
Signed-off-by: Brian Joyce <brian.joyce@arm.com> Change-Id: Ie9e8ba683f4475af15db37f1949a330132055561
2019-04-29IVGCVSW-2843 Support QSymm16 via Command-line quantizer toolSadik Armagan
* Added quantization scheme support to ArmnnQuantizer Change-Id: Ia0202bfcd8cac0695aa3b18f9447a19b27f74f67 Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
2019-04-29IVGCVSW-2982 Refactor reference Activation workloadNattapat Chaimanowong
Change-Id: Ia3b9a56787cc68822a3c1635de82e03ecc0aae27 Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
2019-04-29IVGCVSW-2773 Update clframework pin for the jenkins timing testsRuomei Yan
!android-nn-driver:1035 Change-Id: I36859d21f452df92f2a23d2f9f9c669f4284ac07 Signed-off-by: Ruomei Yan <ruomei.yan@arm.com>
2019-04-29IVGCVSW-2396 Go back to using offset memory managerSadik Armagan
Change-Id: If6cf69b1569eb69c9481369a99ca7066be0fdd9d Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
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-29IVGCVSW-3007 ArmnnConverter: Fix bug with optional --input-tensor-shape argumentMatthew Bentham
Change-Id: Icae21aa39bea57fd5de4278756cc620ffe684ed7 Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>