From c04125f678be1cce86ebcfe94b587e8eba5b7fde Mon Sep 17 00:00:00 2001 From: Aron Virginas-Tar Date: Tue, 19 Feb 2019 16:31:08 +0000 Subject: IVGCVSW-2685 Serialize / de-serialize the DepthwiseConvolution2d layer Change-Id: I37e360c824b30cb14cbef86f6ff7636bc9382109 Signed-off-by: Aron Virginas-Tar --- src/armnnSerializer/Schema.fbs | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'src/armnnSerializer/Schema.fbs') diff --git a/src/armnnSerializer/Schema.fbs b/src/armnnSerializer/Schema.fbs index cbc7da066f..6c542b1b2d 100644 --- a/src/armnnSerializer/Schema.fbs +++ b/src/armnnSerializer/Schema.fbs @@ -75,7 +75,8 @@ enum LayerType : uint { Pooling2d = 4, Reshape = 5, Softmax = 6, - Convolution2d = 7 + Convolution2d = 7, + DepthwiseConvolution2d = 8 } // Base layer table to be used as part of other layers @@ -168,6 +169,24 @@ table SoftmaxDescriptor { beta:float; } +table DepthwiseConvolution2dLayer { + base:LayerBase; + descriptor:DepthwiseConvolution2dDescriptor; + weights:ConstTensor; + biases:ConstTensor; +} + +table DepthwiseConvolution2dDescriptor { + padLeft:uint; + padRight:uint; + padTop:uint; + padBottom:uint; + strideX:uint; + strideY:uint; + biasEnabled:bool = false; + dataLayout:DataLayout = NCHW; +} + table OutputLayer { base:BindableLayerBase; } @@ -184,6 +203,7 @@ table ReshapeDescriptor { union Layer { AdditionLayer, Convolution2dLayer, + DepthwiseConvolution2dLayer, InputLayer, MultiplicationLayer, OutputLayer, -- cgit v1.2.1