diff options
Diffstat (limited to 'src/armnnSerializer/Schema.fbs')
-rw-r--r-- | src/armnnSerializer/Schema.fbs | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/armnnSerializer/Schema.fbs b/src/armnnSerializer/Schema.fbs index 2b96ad8de1..cbc7da066f 100644 --- a/src/armnnSerializer/Schema.fbs +++ b/src/armnnSerializer/Schema.fbs @@ -74,7 +74,8 @@ enum LayerType : uint { Output = 3, Pooling2d = 4, Reshape = 5, - Softmax = 6 + Softmax = 6, + Convolution2d = 7 } // Base layer table to be used as part of other layers @@ -96,6 +97,24 @@ table AdditionLayer { base:LayerBase; } +table Convolution2dLayer { + base:LayerBase; + descriptor:Convolution2dDescriptor; + weights:ConstTensor; + biases:ConstTensor; +} + +table Convolution2dDescriptor { + padLeft:uint; + padRight:uint; + padTop:uint; + padBottom:uint; + strideX:uint; + strideY:uint; + biasEnabled:bool = false; + dataLayout:DataLayout = NCHW; +} + table InputLayer { base:BindableLayerBase; } @@ -164,6 +183,7 @@ table ReshapeDescriptor { union Layer { AdditionLayer, + Convolution2dLayer, InputLayer, MultiplicationLayer, OutputLayer, |