platform/upstream/armnn.git
5 years agoIVGCVSW-2735 Failure to find flatbuffers is not a fatal build error
Ruomei Yan [Fri, 8 Mar 2019 17:50:25 +0000 (17:50 +0000)]
IVGCVSW-2735 Failure to find flatbuffers is not a fatal build error

!referencetests:176231

Change-Id: Ic8a641507c6af2f38e535b0208eb406e74a334a1
Signed-off-by: Ruomei Yan <ruomei.yan@arm.com>
5 years agoIVGCVSW-2709 Serialize / de-serialize the Splitter layer
Jim Flynn [Fri, 8 Mar 2019 11:08:30 +0000 (11:08 +0000)]
IVGCVSW-2709 Serialize / de-serialize the Splitter layer

* fixed typo in Ref Merger Workload comment
* fixed typo in ViewsDescriptor comment
* made the origins descriptor accessable in the ViewsDescriptor
  (needed for serialization)
* based the unit test on the use of the splitter in the CaffeParser

Change-Id: I3e716839adb4eee5a695633377b49e7e18ec2aa9
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com>
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
5 years agoIVGCVSW-2800 Update CL pin to latest master
Conor Kennedy [Fri, 8 Mar 2019 10:55:32 +0000 (10:55 +0000)]
IVGCVSW-2800 Update CL pin to latest master

Change-Id: Id04be4950e09452a056883ba68e9dcf0c6f4ee2d
Signed-off-by: Conor Kennedy <conor.kennedy@arm.com>
5 years agoIVGCVSW-2792 Update Neon Mul/Sub workload for latest CL master
Conor Kennedy [Fri, 8 Mar 2019 08:24:41 +0000 (08:24 +0000)]
IVGCVSW-2792 Update Neon Mul/Sub workload for latest CL master

* Update Neon Subtraction/Multiplication to use BaseWorkload
* Add Uint8 tests for Subtraction/Multiplication

Change-Id: Ied2aa048924817a4db0025b9bd9e54151667bd74
Signed-off-by: Conor Kennedy <conor.kennedy@arm.com>
5 years agoIVGCVSW-2769 Don't process node if already visited
Derek Lamberti [Thu, 28 Feb 2019 09:30:16 +0000 (09:30 +0000)]
IVGCVSW-2769 Don't process node if already visited

Change-Id: I1eb06a044ea702fce00910d84fd20a680c03f1cc
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
5 years agoIVGCVSW-2693 Serialize/de-serialize L2Normalization
Narumol Prangnawarat [Thu, 7 Mar 2019 17:31:34 +0000 (17:31 +0000)]
IVGCVSW-2693 Serialize/de-serialize L2Normalization

Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I6a53ac576260383f32fb0d878b42d1251ffde94a

5 years agoIVGCVSW-2697 Add Serialize/Deserialize for the Merger Layer
Jim Flynn [Thu, 28 Feb 2019 10:40:49 +0000 (10:40 +0000)]
IVGCVSW-2697 Add Serialize/Deserialize for the Merger Layer

* Force generation of schema header in every build
* Also fixed typo in OriginsDescriptor comment (Descriptors.hpp)
* Added Serialize/Deserialize check on Addition Layer
* Added Serialize/Deserialize check on Floor Layer
* Added Serialize/Deserialize check on Minimum Layer
* Added Serialize/Deserialize check on Maximum Layer
* Added Serialize/Deserialize check on Multiplication Layer
* Added Serialize/Deserialize check on Division Layer

Change-Id: I1358ea4db7ca506d8bcec2ee64e1fbad6005e723
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
5 years agoIVGCVSW-2783 Fix Deserializer connections for layer with multiple outputs
Nattapat Chaimanowong [Mon, 4 Mar 2019 17:10:40 +0000 (17:10 +0000)]
IVGCVSW-2783 Fix Deserializer  connections for layer with multiple outputs

Change-Id: Icb278dfd8900334665432963fa6f6341a461ef3b
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2696 Serialize / de-serialize the Mean layer
Sadik Armagan [Mon, 4 Mar 2019 17:44:21 +0000 (17:44 +0000)]
IVGCVSW-2696 Serialize / de-serialize the Mean layer

Change-Id: Iee4bab5a6d6b992cf4bba8697a2918f854c906a3
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
5 years agoIVGCVSW-2689 Fix Floor Deserilizer discarding layer name
Nattapat Chaimanowong [Tue, 5 Mar 2019 17:35:28 +0000 (17:35 +0000)]
IVGCVSW-2689 Fix Floor Deserilizer discarding layer name

Change-Id: Ic402041b18654e008473893f30f2d6f8ee9535fd
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2691 Add Serialize/Deseralize Gather layer
Matteo Martincigh [Mon, 4 Mar 2019 14:34:30 +0000 (14:34 +0000)]
IVGCVSW-2691 Add Serialize/Deseralize Gather layer

Change-Id: I445c4475e5abfe500b61ce8b7138c45322043c8b
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
5 years agoIVGCVSW-2681 Fix layer name in BatchNormalization deserialization
ruoyan01 [Mon, 4 Mar 2019 14:48:02 +0000 (14:48 +0000)]
IVGCVSW-2681 Fix layer name in BatchNormalization deserialization

Change-Id: Iec43db205d77dc9864abe1fe85104722a6954d57
Signed-off-by: Ruomei Yan <ruomei.yan@arm.com>
5 years agoIVGCVSW-2691 Add Serialize/Deseralize Gather layer
Saoirse Stewart [Mon, 4 Mar 2019 13:40:12 +0000 (13:40 +0000)]
IVGCVSW-2691 Add Serialize/Deseralize Gather layer

Change-Id: I589d37c9f65801b701858d6e68e2e3151fac6e16
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
5 years agoIVGCVSW-2710 Add Serializer and Deserializer for StridedSlice
Nattapat Chaimanowong [Mon, 4 Mar 2019 12:35:39 +0000 (12:35 +0000)]
IVGCVSW-2710 Add Serializer and Deserializer for StridedSlice

Change-Id: I6e8198a2aa5f8c56f00ccf9b4d98fcd208755654
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2711 Add Serializer and Deserializer for Subtraction
Conor Kennedy [Fri, 1 Mar 2019 14:37:12 +0000 (14:37 +0000)]
IVGCVSW-2711 Add Serializer and Deserializer for Subtraction

Change-Id: I87836b5314c1f791b4df2ca90d239573ca28a2da
Signed-off-by: Conor Kennedy <conor.kennedy@arm.com>
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
5 years agoIVGCVSW-2705 Add Serializer and Deserializer for ResizeBilinear
Nattapat Chaimanowong [Fri, 1 Mar 2019 16:14:13 +0000 (16:14 +0000)]
IVGCVSW-2705 Add Serializer and Deserializer for ResizeBilinear

Change-Id: Ibc5689a2e00d38dc98ef39e50ed5dc3b91791e16
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2692 Add Serializer and Deserializer for Greater
Conor Kennedy [Fri, 1 Mar 2019 14:24:54 +0000 (14:24 +0000)]
IVGCVSW-2692 Add Serializer and Deserializer for Greater

Change-Id: I344a1f36a8a4ab601dd4d62a0014c554ceb6a1c6
Signed-off-by: Conor Kennedy <conor.kennedy@arm.com>
5 years agoIVGCVSW-2681 Serialize/de-serialize the BatchNormalization layer
ruoyan01 [Thu, 28 Feb 2019 15:09:07 +0000 (15:09 +0000)]
IVGCVSW-2681 Serialize/de-serialize the BatchNormalization layer

Change-Id: I418c4465366742262fb6e6c1eeba76c634beaeb5
Signed-off-by: ruoyan01 <ruomei.yan@arm.com>
5 years agoIVGCVSW-2689 Serialize / de-serialize the Floor layer
Finn Williams [Fri, 1 Mar 2019 11:51:52 +0000 (11:51 +0000)]
IVGCVSW-2689 Serialize / de-serialize the Floor layer

Change-Id: I61177a999092195fbdfdcf810d289969252dd365
Signed-off-by: Finn Williams <finn.williams@arm.com>
5 years agoIVGCVSW-2706 Serialize / de-serialize the Rsqrt layer
Sadik Armagan [Fri, 1 Mar 2019 14:24:49 +0000 (14:24 +0000)]
IVGCVSW-2706 Serialize / de-serialize the Rsqrt layer

Change-Id: Ic1cfa0833c3531c743ba2d2f277fd70086357119
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
5 years agoIVGCVSW-2701 Add Serializer and Deserializer for Pad
Nattapat Chaimanowong [Fri, 1 Mar 2019 12:14:06 +0000 (12:14 +0000)]
IVGCVSW-2701 Add Serializer and Deserializer for Pad

Change-Id: I71184236f0394518f29944a77d4b934cbde9e53d
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2700 Serialize/de-serialize the Normalization layer
Nina Drozd [Wed, 27 Feb 2019 10:53:27 +0000 (10:53 +0000)]
IVGCVSW-2700 Serialize/de-serialize the Normalization layer

Change-Id: Ib307ec6c28beb6c158d337678e67a2484c495a06
Signed-off-by: Nina Drozd <nina.drozd@arm.com>
5 years agoIVGCVSW-2695 Serialize / deserialize the Maximum layer
Aron Virginas-Tar [Wed, 27 Feb 2019 14:42:31 +0000 (14:42 +0000)]
IVGCVSW-2695 Serialize / deserialize the Maximum layer

Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: I6c89a40b1fc00699a048efb26966142517c3ff43

5 years agoIVGCVSW-2688 Add Serializer and Deserializer for Equal
Nattapat Chaimanowong [Thu, 28 Feb 2019 16:27:30 +0000 (16:27 +0000)]
IVGCVSW-2688 Add Serializer and Deserializer for Equal

Change-Id: If613f4394e161483eea4930dab2afba74c5e26fd
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2698 Serialize / deserialize the Minimum layer
Aron Virginas-Tar [Thu, 28 Feb 2019 13:12:47 +0000 (13:12 +0000)]
IVGCVSW-2698 Serialize / deserialize the Minimum layer

Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: I8a931c920ff38506c210e9369b81fae150096776

5 years agoIVGCVSW-2765 Modify ParserFlatBuffersSerilizeFixture to accept different output type
Nattapat Chaimanowong [Wed, 27 Feb 2019 17:27:16 +0000 (17:27 +0000)]
IVGCVSW-2765 Modify ParserFlatBuffersSerilizeFixture to accept different output type

Change-Id: Ia61e25e7375f7c58db6b0cf6389af151ac004f4c
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2763 Fix bug in BatchToSpaceNdLayer::InferOutputShapes
Nattapat Chaimanowong [Wed, 27 Feb 2019 10:28:09 +0000 (10:28 +0000)]
IVGCVSW-2763 Fix bug in BatchToSpaceNdLayer::InferOutputShapes

*Also added test case for non-zero crop and moved BatchToSpaceNd test
functions together

Change-Id: I142ba356165618b2811a4ab650ca6ced35220d9c
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2766 Modify CheckDeserializedNetworkAgainstOriginal to work with multiple...
Nattapat Chaimanowong [Wed, 27 Feb 2019 16:52:29 +0000 (16:52 +0000)]
IVGCVSW-2766 Modify CheckDeserializedNetworkAgainstOriginal to work with multiple inputs and outputs

Change-Id: I90d1701d5bfd8ced32720e495e0126de0014aff9
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2687 Add Serializer & Deserializer for Division
Éanna Ó Catháin [Wed, 27 Feb 2019 16:16:39 +0000 (16:16 +0000)]
IVGCVSW-2687 Add Serializer & Deserializer for Division

Change-Id: I230220eccbfb22e56e8d351cc963988d734836ac
Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
5 years agoIVGCVSW-2598 Update attribute to use num_split
Saoirse Stewart [Thu, 28 Feb 2019 11:32:41 +0000 (11:32 +0000)]
IVGCVSW-2598 Update attribute to use num_split

Change-Id: I5de0e0a2de9241498213d274a6bf2a62ba7da7cc
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
5 years agoIVGCVSW-2682 Add Serializer and Deserializer for BatchToSpaceNd
Nattapat Chaimanowong [Tue, 26 Feb 2019 17:24:13 +0000 (17:24 +0000)]
IVGCVSW-2682 Add Serializer and Deserializer for BatchToSpaceNd

Change-Id: I8b8ac99b4ecf282b796a8af4b30594ade4e061e6
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2752 Make biases optional in INetwork
Aron Virginas-Tar [Fri, 22 Feb 2019 17:03:44 +0000 (17:03 +0000)]
IVGCVSW-2752 Make biases optional in INetwork

* Added new version of AddConvolution2dLayer, AddDepthwiseConvolution2dLayer
  and AddFullyConnectedLayer with Optional<ConstTensor> biases
* Deprecated old AddConvolution2dLayer, AddDepthwiseConvolution2dLayer
  and AddFullyConnectedLayer methods
* Made necessary changes to implementation functions

Change-Id: I65eddb28dc72a9c74429c331815a96c2bfdc8c51
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
5 years agoIVGCVSW-2759 Add MakeOptional to enable in-place optional object construction
Aron Virginas-Tar [Fri, 22 Feb 2019 17:08:36 +0000 (17:08 +0000)]
IVGCVSW-2759 Add MakeOptional to enable in-place optional object construction

* Added new argument-forwarding in-place constructor to Optional
* Added MakeOptional utility template to allow for efficient construction
  of optional objects

Change-Id: Iec9067fc5c3e109a26c4cc2fe8468260637b66c5
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
5 years agoIVGCVSW-2598 Fix for constant axis issue for Tensorflow Parser
Saoirse Stewart [Wed, 27 Feb 2019 11:07:57 +0000 (11:07 +0000)]
IVGCVSW-2598 Fix for constant axis issue for Tensorflow Parser

Change-Id: I8b081012529aed8e434273259c5a5ef7dc3afff7
Signed-off-by: Finn Williams <finn.williams@arm.com>
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
5 years agoIVGCVSW-2764 Strengthen test for thread-safety in Profiler
Matthew Bentham [Wed, 27 Feb 2019 11:51:40 +0000 (11:51 +0000)]
IVGCVSW-2764 Strengthen test for thread-safety in Profiler

Replace assert with explicit conditions so that the checks
are correctly performed in release builds.

Change-Id: Id69ab3cc0aa8c61021642b7250e30c255f144a3a
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
5 years agoIVGCVSW-2632 Fix RefMerger from QAsymm8 types with different quantization parameters
Ferran Balaguer [Wed, 27 Feb 2019 09:42:06 +0000 (09:42 +0000)]
IVGCVSW-2632 Fix RefMerger from QAsymm8 types with different quantization parameters

Change-Id: Ie67ce4966c5e5fef618876b027292da429de1485
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com>
5 years agoIVGCVSW-2560 Add support of SSD MobileNet to TensorFlowLiteSupport.md
Narumol Prangnawarat [Tue, 26 Feb 2019 17:51:08 +0000 (17:51 +0000)]
IVGCVSW-2560 Add support of SSD MobileNet to TensorFlowLiteSupport.md

 * 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>
5 years agoIVGCVSW-2560 Verify Inference test for TensorFlow Lite MobileNet SSD
Narumol Prangnawarat [Mon, 25 Feb 2019 17:26:05 +0000 (17:26 +0000)]
IVGCVSW-2560 Verify Inference test for TensorFlow Lite MobileNet SSD

 * 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>
5 years agoIVGCVSW-2708 Add Serializer and Deserializer SpaceToBatchNd
Nattapat Chaimanowong [Tue, 26 Feb 2019 15:53:02 +0000 (15:53 +0000)]
IVGCVSW-2708 Add Serializer and Deserializer SpaceToBatchNd

Change-Id: I14f2a660654dc87939fe413fafa9384f09594f68
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2429 Add Detection PostProcess Parser to TensorFlow Lite Parser
keidav01 [Tue, 26 Feb 2019 11:57:39 +0000 (11:57 +0000)]
IVGCVSW-2429 Add Detection PostProcess Parser to TensorFlow Lite Parser

    * 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>
5 years agoIVGCVSW-2683 Add Serializer & Deserializer for Constant
Conor Kennedy [Tue, 26 Feb 2019 08:29:54 +0000 (08:29 +0000)]
IVGCVSW-2683 Add Serializer & Deserializer for Constant

Change-Id: Iad7d89dfa963d9015cbe044f67aecc8bf6634b10
Signed-off-by: Conor Kennedy <conor.kennedy@arm.com>
5 years agoIVGCVSW-2629 Adding support for uint8 in ExecuteNetwork to fix issues with output...
Éanna Ó Catháin [Tue, 26 Feb 2019 11:26:24 +0000 (11:26 +0000)]
IVGCVSW-2629 Adding support for uint8 in ExecuteNetwork to fix issues with output tensor being all zero

Change-Id: I4da1ffd684672fff0853fb053c3340d06a3bc165
Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
5 years agoIVGCVSW-2756 Fix bug in ClSpaceToBatchNdWorkload
Nattapat Chaimanowong [Tue, 26 Feb 2019 12:26:08 +0000 (12:26 +0000)]
IVGCVSW-2756 Fix bug in ClSpaceToBatchNdWorkload

*Padding was not in format expected by Cl

Change-Id: Id0de3fd2b306e31d555e2d67bc4406e5302dcd3b
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2525 *Update TfLite supported operator list
Derek Lamberti [Tue, 26 Feb 2019 10:49:52 +0000 (10:49 +0000)]
IVGCVSW-2525 *Update TfLite supported operator list

Change-Id: Ia349d71ec966b37feaffb971c7a77bf8cd44501c
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
5 years agoIVGCVSW-2751 When layers are Deserialized the layer name is lost
Éanna Ó Catháin [Mon, 25 Feb 2019 16:26:29 +0000 (16:26 +0000)]
IVGCVSW-2751 When layers are Deserialized the layer name is lost

 * Fixed defect
 * Added unit tests to check names

Change-Id: I67211110b90aabff6e00bccdadd1145423b07523
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
5 years agoRename ArmNN schema file to ArmnnSchema.fbs
Matthew Bentham [Mon, 25 Feb 2019 13:58:24 +0000 (13:58 +0000)]
Rename ArmNN schema file to ArmnnSchema.fbs

This makes the header file change to ArmnnSchema_generated.h,
which is then unambiguous with respect to other generated schema files.

Change-Id: Id7785ed74cced4dcd4d6bcbab81e53c6aeba973c
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
5 years agoIVGCVSW-2762 Fix missing layer name and output slot index in DebugLayer output
Aron Virginas-Tar [Mon, 25 Feb 2019 14:12:46 +0000 (14:12 +0000)]
IVGCVSW-2762 Fix missing layer name and output slot index in DebugLayer output

Change-Id: Idda9c8ba244c74d931105ced90c38a12d48df48a
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
5 years agoAdd strided-slice parser to tf-lite
Bruno Goncalves [Wed, 13 Feb 2019 00:59:22 +0000 (22:59 -0200)]
Add strided-slice parser to tf-lite

Change-Id: I1821d7e8123c76823562dd2e8822c5293fcb18c3
Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com>
5 years agoIVGCVSW-2757 Add check for wrong number of components supplied to const tensor
Saoirse Stewart [Mon, 25 Feb 2019 09:22:58 +0000 (09:22 +0000)]
IVGCVSW-2757 Add check for wrong number of components supplied to const tensor

Change-Id: Ia9bc6c73ce246712c41496a1cfe0bb6a1d2eb8e9
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
5 years agoAdd minimum parser to tf-lite
Bruno Goncalves [Wed, 13 Feb 2019 00:58:18 +0000 (22:58 -0200)]
Add minimum parser to tf-lite

Change-Id: I617c2715e0fb8d01b96fa9d3d5d9a16a33477b66
Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com>
5 years agoAdd maximum parser to tf-lite
Bruno Goncalves [Wed, 13 Feb 2019 00:57:13 +0000 (22:57 -0200)]
Add maximum parser to tf-lite

Change-Id: Idaf6dd3f4d96dad01e1dc1a0d3fd6c146780626d
Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com>
5 years agoIVGCVSW-2721 Quantize and Dequantize aren't quite right
Francis Murtagh [Fri, 22 Feb 2019 16:35:13 +0000 (16:35 +0000)]
IVGCVSW-2721 Quantize and Dequantize aren't quite right

 * Add check for infinity and negative infinity in quantize()
 * Add assert for NaN value in quantize and dequantize()
 * Add unit tests for infinity and negative infinity

Change-Id: Ie60e1e15b289ccbf99df4a3281f067b82cc9f9bf
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
5 years agoIVGCVSW-2735 Fail build if TfLite parser or armnnSerializer can't be built
Matthew Bentham [Fri, 22 Feb 2019 17:30:32 +0000 (17:30 +0000)]
IVGCVSW-2735 Fail build if TfLite parser or armnnSerializer can't be built

Change-Id: I39a2fee99218a0a31d8ce6c46d7cc1c0ca5b75d2
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
5 years agoAdd space-to-batch-nd parser to tf-lite
Bruno Goncalves [Fri, 8 Feb 2019 21:02:48 +0000 (19:02 -0200)]
Add space-to-batch-nd parser to tf-lite

Change-Id: I3bf86d44f811380559ec35eed0bc43b3bd97da80
Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com>
5 years agoAdd batch-to-space-nd parser to tf-lite
Bruno Goncalves [Fri, 8 Feb 2019 20:52:21 +0000 (18:52 -0200)]
Add batch-to-space-nd parser to tf-lite

Change-Id: I1e210f88f19f38ab719008e119c8fed153a3dd95
Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com>
5 years agoAdd resize-bilinear parser to tf-lite
Bruno Goncalves [Thu, 7 Feb 2019 20:40:11 +0000 (18:40 -0200)]
Add resize-bilinear parser to tf-lite

Change-Id: Id35db981b38348e5a941cfbb4cbdfe8cd617a254
Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com>
5 years agoAdd sub parser to tf-lite
Bruno Goncalves [Thu, 7 Feb 2019 20:37:39 +0000 (18:37 -0200)]
Add sub parser to tf-lite

Change-Id: I0e63d81d95528e6c278dc5fa8b87ccc1f8798130
Signed-off-by: Bruno Goncalves <bruno.slackware@gmail.com>
5 years agoIVGCVSW-2589 Fix for checking out CL release branch
Aron Virginas-Tar [Fri, 22 Feb 2019 10:53:49 +0000 (10:53 +0000)]
IVGCVSW-2589 Fix for checking out CL release branch

Change-Id: I3200cb7a88158ec3aabc6feaca452406d5408129
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
5 years agoIVGCVSW-2739 Updating the Readme.md and ContributorGuide.md files to add references...
Saoirse Stewart [Fri, 22 Feb 2019 09:56:18 +0000 (09:56 +0000)]
IVGCVSW-2739 Updating the Readme.md and ContributorGuide.md files to add references and links to the new MLPlatform.org website (the home for the machine learning platform

Change-Id: I14819d71157ea32bb911f0a20ece3e5d2d59f64b
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
5 years agoIVGCVSW-2749 Throw exception in TensorShape when requested index >= number of dimensions
Aron Virginas-Tar [Thu, 21 Feb 2019 15:45:03 +0000 (15:45 +0000)]
IVGCVSW-2749 Throw exception in TensorShape when requested index >= number of dimensions

Change-Id: I3589b1e901b0f81f6bb17848046a22829f91bb9e
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
5 years agoIVGSVSW-2736 Fix dangling reference to temporary storage
Derek Lamberti [Thu, 21 Feb 2019 16:29:43 +0000 (16:29 +0000)]
IVGSVSW-2736 Fix dangling reference to temporary storage

Change-Id: Ie6c553798eac732f37148d81970366e5a4ede1be
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
5 years agoIVGCVSW-2588 Update README files for 19.02
Nattapat Chaimanowong [Thu, 21 Feb 2019 17:05:39 +0000 (17:05 +0000)]
IVGCVSW-2588 Update README files for 19.02

*Also update related Support.md files

Change-Id: If832980fdebb136ab02333d99512fd39b9093b2b
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2424 Add LOGISTIC Operator Support (CL)
Finn Williams [Mon, 18 Feb 2019 10:07:34 +0000 (10:07 +0000)]
IVGCVSW-2424 Add LOGISTIC Operator Support (CL)

 * Added Logistic tests in ClLayerTests
 * Removed check for QuantisedAsymm8 in CLActivationWorkload

Change-Id: I6950e18109504d8426b727cb6b7d19898c899024
Signed-off-by: Finn Williams <finn.williams@arm.com>
5 years agoIVGCVSW-2748 Fix bug causing std::bad_alloc in MakeTensor()
Aron Virginas-Tar [Thu, 21 Feb 2019 14:57:08 +0000 (14:57 +0000)]
IVGCVSW-2748 Fix bug causing std::bad_alloc in MakeTensor()

Change-Id: Iff6533396e594e2716e432223780d662d99d06ec
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
5 years agoIVGCVSW-2589 Update CL pin to the 19.02 release
Finn Williams [Mon, 18 Feb 2019 13:07:42 +0000 (13:07 +0000)]
IVGCVSW-2589 Update CL pin to the 19.02 release

Change-Id: Ic3a0ab87ac1df94bd69a2b966b27f95a7ef47dc9
Signed-off-by: Finn Williams <finn.williams@arm.com>
5 years agoIVGCVSW-2635 Update TensorFlowSupport.md
Jim Flynn [Wed, 20 Feb 2019 14:25:11 +0000 (14:25 +0000)]
IVGCVSW-2635 Update TensorFlowSupport.md

* Also fixed a format issue in TfParser.hpp

Change-Id: I5b0ae1d5909f03e166a40d3aca8859024cd5e5b6
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
5 years agoCOMPMID-2007 Changing NDK version to 17b in the Build ArmNN with the Android NDK...
telsoa01 [Wed, 20 Feb 2019 11:44:48 +0000 (11:44 +0000)]
COMPMID-2007 Changing NDK version to 17b in the Build ArmNN with the Android NDK guide. This is required by the Arm Compute Library for some of the v8 NEON intrinsics

Change-Id: Icd4bfaf502c4ada55618b711603d5ff509674b55

5 years agoIVGCVSW-2429 Add Detection PostProcess Parser to TensorFlow Lite Parser
keidav01 [Thu, 21 Feb 2019 10:07:37 +0000 (10:07 +0000)]
IVGCVSW-2429 Add Detection PostProcess Parser to TensorFlow Lite Parser

    * 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>
5 years agoIVGCVSW-2643 Add Activation to SerializerSupport.md and DeserializerSupport.md
Aron Virginas-Tar [Thu, 21 Feb 2019 09:41:28 +0000 (09:41 +0000)]
IVGCVSW-2643 Add Activation to SerializerSupport.md and DeserializerSupport.md

Change-Id: Id4a75051d8a93744346b91febcad0e62e7063495
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
5 years agoIVGCVSW-2639 Add Serializer & Deserializer for Fully Connected
Sadik Armagan [Thu, 21 Feb 2019 09:01:41 +0000 (09:01 +0000)]
IVGCVSW-2639 Add Serializer & Deserializer for Fully Connected

 * Added FullyConnectedLayer to Serializer Schema Schema.fbs
 * Added FullyConnected serialization and deserialization support
 * Added FullyConnected serialization and deserialization unit tests

Change-Id: I8ef14f9728158f849fa4d1a8d05a1a4170cd5b41
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
5 years agoIVGCVSW-2613 Support static quantization of BatchToSpace
Ferran Balaguer [Mon, 18 Feb 2019 12:47:35 +0000 (12:47 +0000)]
IVGCVSW-2613 Support static quantization of BatchToSpace

Change-Id: I44b12c5c246b7aacc789420dbe55a16efaab6f98

5 years agoFix typos in IVGCVSW-2645 Add Serializer & Deserializer for Pooling2d
ruoyan01 [Wed, 20 Feb 2019 13:53:22 +0000 (13:53 +0000)]
Fix typos in IVGCVSW-2645 Add Serializer & Deserializer for Pooling2d

Change-Id: I63fdf3e7fb6ba42e879942ee9664d7c84678d4e8
Signed-off-by: ruoyan01 <ruomei.yan@arm.com>
5 years agoIVGCVSW-2610 Add Quantization Tool Executable
Jim Flynn [Fri, 15 Feb 2019 14:45:04 +0000 (14:45 +0000)]
IVGCVSW-2610 Add Quantization Tool Executable

* Also added TensorInfos to the output slots in the SerializerTests
  to create valid ArmNN networks for serialization

Change-Id: I092b1ac889dd5e05cb1c10c9dfb573acaf1970d9
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
5 years agoIVGCVSW-2702 Add Serializer and Deserializer for Permute
Nattapat Chaimanowong [Wed, 20 Feb 2019 17:31:34 +0000 (17:31 +0000)]
IVGCVSW-2702 Add Serializer and Deserializer for Permute

Change-Id: I56322cb935de42cfa25bd1fbb0c09d00c7a5dd2b
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2643 Add Serializer & Deserializer for Activation
Mike Kelly [Wed, 20 Feb 2019 16:53:11 +0000 (16:53 +0000)]
IVGCVSW-2643 Add Serializer & Deserializer for Activation

 * Added ActivationLayer to Schema.fbs
 * Added Activation serialization and deserialization support
 * Added serialization and deserialization unit tests

Change-Id: Ib5df45f123674988b994ffe3f111d3fb57864912
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
5 years agoIVGSVSW-2736 Rename DeserializeParser => Deserializer & fix namespaces
Derek Lamberti [Wed, 20 Feb 2019 13:57:42 +0000 (13:57 +0000)]
IVGSVSW-2736 Rename DeserializeParser => Deserializer & fix namespaces

Change-Id: I4166c0bbb5ba7f8b8884e71134c21f43d1fc27b0
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
5 years agoIVGCVSW-2636 Update serializer and deserializer README with new layers
Aron Virginas-Tar [Wed, 20 Feb 2019 13:38:47 +0000 (13:38 +0000)]
IVGCVSW-2636 Update serializer and deserializer README with new layers

Change-Id: Icba4e6e65027c4ac2dd08bd5a2662c4289ade8f3
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
5 years agoIVGCVSW-2685 Serialize / de-serialize the DepthwiseConvolution2d layer
Aron Virginas-Tar [Tue, 19 Feb 2019 16:31:08 +0000 (16:31 +0000)]
IVGCVSW-2685 Serialize / de-serialize the DepthwiseConvolution2d layer

Change-Id: I37e360c824b30cb14cbef86f6ff7636bc9382109
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
5 years agoIVGCVSW-2583 Update verison number for 19.02
Saoirse Stewart [Wed, 20 Feb 2019 09:54:19 +0000 (09:54 +0000)]
IVGCVSW-2583 Update verison number for 19.02

Change-Id: I9c28b8986d10b092ddc8e9b609006b27858bf6be
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
5 years agoIVGCVSW-2436 Modify MobileNet SSD inference test
Narumol Prangnawarat [Fri, 15 Feb 2019 17:34:51 +0000 (17:34 +0000)]
IVGCVSW-2436 Modify MobileNet SSD inference test

 * change MobileNet SSD input to uint8
 * get quantization scale and offset from the model
 * change data layout to NHWC as TensorFlow lite layout
 * update expected output as result from TfLite with quantized data

Change-Id: I07104d56286893935779169356234de53f1c9492
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
5 years agoIVGCVSW-2730 Fix bug in TfParser setting incorrect output shape for Addition Layer
Nattapat Chaimanowong [Fri, 15 Feb 2019 16:46:24 +0000 (16:46 +0000)]
IVGCVSW-2730 Fix bug in TfParser setting incorrect output shape for Addition 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>
5 years agoIVGCVSW-2725 Fix issue with ExecuteNetwork and Guid's
Saoirse Stewart [Mon, 18 Feb 2019 17:19:16 +0000 (17:19 +0000)]
IVGCVSW-2725 Fix issue with ExecuteNetwork and Guid's

Change-Id: I499b2ac3b51390fd725ea8afa64efc7e007be199
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
5 years agoIVGCVSW-2646 Add Serializer & Deserializer for Conv2D
Mike Kelly [Tue, 19 Feb 2019 17:22:07 +0000 (17:22 +0000)]
IVGCVSW-2646 Add Serializer & Deserializer for Conv2D

 * Added Convolution2dLayer to Schema.fbs
 * Added ConstTensorData serialization and deserialization helper functions
 * Added Convolution2d serialization and deserialization support
 * Added serialization and deserialization unit tests

Change-Id: Id376c08410ae01511972a2b0abdce9cfab907462
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
5 years agoIVGCVSW-2736 Deserialize using istream instead of filename
Derek Lamberti [Mon, 18 Feb 2019 16:36:57 +0000 (16:36 +0000)]
IVGCVSW-2736 Deserialize using istream instead of filename

Change-Id: I5656b23d9783e7f953e677001d16e41eedeb42b2
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
5 years agoIVGCVSW-2642 Add Reshape to Serializer and Deserializer
Saoirse Stewart [Tue, 19 Feb 2019 15:54:14 +0000 (15:54 +0000)]
IVGCVSW-2642 Add Reshape to Serializer and Deserializer

Change-Id: Iccded3c6e3c0713c44f43231981440420591f94e
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
5 years agoIVGCVSW-2662 Implement conversion tool to serialize ArmNN networks
Nattapat Chaimanowong [Thu, 14 Feb 2019 15:28:02 +0000 (15:28 +0000)]
IVGCVSW-2662 Implement conversion tool to serialize ArmNN networks

Change-Id: I86fb93b8d739ab043e019643184a091e700fd7c4
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2645 Add Serializer & Deserializer for Pooling2d
Saoirse Stewart [Mon, 18 Feb 2019 15:24:53 +0000 (15:24 +0000)]
IVGCVSW-2645 Add Serializer & Deserializer for Pooling2d

Change-Id: Iba41da3cccd539a0175f2ed0ff9a8b6a23c5fb6f
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
5 years agoIVGCVSW-2619 Support static quantization of StridedSlice
Francis Murtagh [Mon, 18 Feb 2019 17:14:10 +0000 (17:14 +0000)]
IVGCVSW-2619 Support static quantization of StridedSlice

Change-Id: Iff0902ea2751b079563ce82fbbec6db5157c3392
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
5 years agoIVGCVSW-2644 Add Serializer & Deserializer for Softmax
Aron Virginas-Tar [Wed, 13 Feb 2019 15:41:52 +0000 (15:41 +0000)]
IVGCVSW-2644 Add Serializer & Deserializer for Softmax

Change-Id: Ifea2108e173d2b602162fe53b880a68e1c715510
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
5 years agoIVGCVSW-2626 Add Quantization of ResizeBilinear Layer
Jim Flynn [Mon, 18 Feb 2019 10:42:32 +0000 (10:42 +0000)]
IVGCVSW-2626 Add Quantization of ResizeBilinear Layer

Change-Id: I0daffd23f32cc094d8309aed822cc46bb2aaa46f
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
5 years agoIVGCVSW-2618 Support static quantization of Splitter
Francis Murtagh [Fri, 15 Feb 2019 16:56:27 +0000 (16:56 +0000)]
IVGCVSW-2618 Support static quantization of Splitter

Change-Id: I8e44866336dcd5a9694309cf9bb954a4991e61fd
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
5 years agoIVGCVSW-2616: static quantization of reshape
Nina Drozd [Thu, 14 Feb 2019 13:41:49 +0000 (13:41 +0000)]
IVGCVSW-2616: static quantization of reshape

Change-Id: Iaefa145b8a218b3708c8a9208fdabd4984376ae9
Signed-off-by: Nina Drozd <nina.drozd@arm.com>
5 years agoIVGCVSW-2621 Add static quantization of Merger
Jim Flynn [Thu, 14 Feb 2019 09:56:36 +0000 (09:56 +0000)]
IVGCVSW-2621 Add static quantization of Merger

Change-Id: I19f01698a6f9b361cd1737d76e6ec2020fab77a6
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
5 years agoIVGCVSW-2724 Fix bug in DeserializeParser
Nattapat Chaimanowong [Wed, 13 Feb 2019 15:56:24 +0000 (15:56 +0000)]
IVGCVSW-2724 Fix bug in DeserializeParser

* Fixed error in which DeserializeParser::LoadGraphFromFile returns
a pointer to a local variable in its scope

Change-Id: Ic928b8509c0ae76570f0527b17e050b46327fe0c
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
5 years agoIVGCVSW-2642 Fix Guid issue in Serialize Parser
Saoirse Stewart [Thu, 14 Feb 2019 15:46:10 +0000 (15:46 +0000)]
IVGCVSW-2642 Fix Guid issue in Serialize Parser

Change-Id: Id8ba083b6a5dee64ed197d71647ad3b451e4f354
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
5 years agoIVGCVSW-2642 Fix layerBindingId issue
Saoirse Stewart [Thu, 14 Feb 2019 14:57:37 +0000 (14:57 +0000)]
IVGCVSW-2642 Fix layerBindingId issue

Change-Id: I24fef25ab12df07b98d78de98563ee4a2b9977ba
Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
5 years agoIVGCVSW-2620 Support static quantization of Constant
Matteo Martincigh [Mon, 11 Feb 2019 13:24:38 +0000 (13:24 +0000)]
IVGCVSW-2620 Support static quantization of Constant

 * Added VisitConstantLayer to QuantizerVisitor
 * Added unit tests and refactored QuantizerTest.cpp
 * Code cleanup

Change-Id: I118fd2be085fc98879c5cfaa09698a7c98ba13f0
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
5 years agoIVGCVSW-2726 Code cleanup
Matteo Martincigh [Wed, 13 Feb 2019 15:12:39 +0000 (15:12 +0000)]
IVGCVSW-2726 Code cleanup

 * Removed extra ';'
 * Renamed file to fix typo

Change-Id: I81a25faf01bf0a285e45fc81febf36c981d25f2f
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
5 years agoIVGCVSW-2658 Integrate Compute Library 6eb90d7
Matthew Bentham [Thu, 14 Feb 2019 12:49:31 +0000 (12:49 +0000)]
IVGCVSW-2658 Integrate Compute Library 6eb90d7

Change-Id: I4a7e8b2caf41bc7edcfea44b883406f3c1fa4ba0
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
5 years agoIVGCVSW-2615 Support static quantization of Pooling2d
FrancisMurtagh [Wed, 13 Feb 2019 16:43:14 +0000 (16:43 +0000)]
IVGCVSW-2615 Support static quantization of Pooling2d

Change-Id: Ica9c48adad741840b201047bb65541a19aac17f7
Signed-off-by: FrancisMurtagh <francis.murtagh@arm.com>