diff options
author | Matthew Sloyan <matthew.sloyan@arm.com> | 2021-09-08 13:05:51 +0100 |
---|---|---|
committer | Matthew Sloyan <matthew.sloyan@arm.com> | 2021-10-01 15:27:01 +0100 |
commit | b63a31170aee1d28267d83a4bc67b57708fb6b05 (patch) | |
tree | 16cea0a872939be749b72f45ad125964439bc40e /src/armnnSerializer/ArmnnSchema.fbs | |
parent | eb852bb9e45b1db42a26001ece11ec7cc1f2bbfe (diff) | |
download | armnn-b63a31170aee1d28267d83a4bc67b57708fb6b05.tar.gz |
IVGCVSW-6163 Add Conv3d FrontEnd and Ref Implementation
* Added front-end
* Added Reference workload
* Added Serializer & Deserializer support
* Added unit tests
* Added NDHWC DataLayout
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Iec4d39e7433b5334d52fa44cf8efc6bcd39319d8
Diffstat (limited to 'src/armnnSerializer/ArmnnSchema.fbs')
-rw-r--r-- | src/armnnSerializer/ArmnnSchema.fbs | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/src/armnnSerializer/ArmnnSchema.fbs b/src/armnnSerializer/ArmnnSchema.fbs index 740090bcc8..77982888c8 100644 --- a/src/armnnSerializer/ArmnnSchema.fbs +++ b/src/armnnSerializer/ArmnnSchema.fbs @@ -45,7 +45,8 @@ enum DataType : byte { enum DataLayout : byte { NHWC = 0, - NCHW = 1 + NCHW = 1, + NDHWC = 2 } enum ReduceOperation: byte { @@ -177,6 +178,7 @@ enum LayerType : uint { Shape = 62, UnidirectionalSequenceLstm = 63, ChannelShuffle = 64, + Convolution3d = 65, } // Base layer table to be used as part of other layers @@ -282,6 +284,30 @@ table Convolution2dDescriptor { dataLayout:DataLayout = NCHW; } +table Convolution3dLayer { + base:LayerBase; + descriptor:Convolution3dDescriptor; + weights:ConstTensor; + biases:ConstTensor; +} + +table Convolution3dDescriptor { + padLeft:uint; + padRight:uint; + padTop:uint; + padBottom:uint; + padFront:uint; + padBack:uint; + strideX:uint; + strideY:uint; + strideZ:uint; + dilationX:uint = 1; + dilationY:uint = 1; + dilationZ:uint = 1; + biasEnabled:bool = false; + dataLayout:DataLayout = NDHWC; +} + table DepthToSpaceLayer { base:LayerBase; descriptor:DepthToSpaceDescriptor; @@ -1012,6 +1038,7 @@ union Layer { ShapeLayer, UnidirectionalSequenceLstmLayer, ChannelShuffleLayer, + Convolution3dLayer, } table AnyLayer { |