IVGCVSW-2681 Serialize/de-serialize the BatchNormalization layer
Change-Id: I418c4465366742262fb6e6c1eeba76c634beaeb5
Signed-off-by: ruoyan01 <ruomei.yan@arm.com>
diff --git a/src/armnnSerializer/ArmnnSchema.fbs b/src/armnnSerializer/ArmnnSchema.fbs
index 4e3180f..f416912 100644
--- a/src/armnnSerializer/ArmnnSchema.fbs
+++ b/src/armnnSerializer/ArmnnSchema.fbs
@@ -103,7 +103,8 @@
Normalization = 19,
Pad = 20,
Rsqrt = 21,
- Floor = 22
+ Floor = 22,
+ BatchNormalization = 23
}
// Base layer table to be used as part of other layers
@@ -340,14 +341,30 @@
padList:[uint];
}
+
table RsqrtLayer {
base:LayerBase;
}
+table BatchNormalizationLayer {
+ base:LayerBase;
+ descriptor:BatchNormalizationDescriptor;
+ mean:ConstTensor;
+ variance:ConstTensor;
+ beta:ConstTensor;
+ gamma:ConstTensor;
+}
+
+table BatchNormalizationDescriptor {
+ eps:float;
+ dataLayout:DataLayout;
+}
+
union Layer {
ActivationLayer,
AdditionLayer,
BatchToSpaceNdLayer,
+ BatchNormalizationLayer,
ConstantLayer,
Convolution2dLayer,
DepthwiseConvolution2dLayer,