[serialization_lib] Align to Tosa Spec
removed attributes for Reshape, Slice and Tile Ops
renamed field accum_dtype to acc_type,
renamed then_branch/else_branch to then_graph/else_graph
renamed cond_branch/body_branch to cond_graph/body_graph
Signed-off-by: Tai Ly <tai.ly@arm.com>
Change-Id: I2001f19519987d9e64c18b1f11762f9d3b9be4ec
diff --git a/schema/tosa.fbs b/schema/tosa.fbs
index e37c89a..2bb3470 100644
--- a/schema/tosa.fbs
+++ b/schema/tosa.fbs
@@ -137,9 +137,6 @@
TransposeConvAttribute,
PadAttribute,
AxisAttribute,
- ReshapeAttribute,
- SliceAttribute,
- TileAttribute,
ResizeAttribute,
ClampAttribute,
RescaleAttribute,
@@ -163,7 +160,7 @@
stride: [int32];
input_zp: int32;
output_zp: int32;
- accum_dtype: DType;
+ acc_type: DType;
}
table ConvAttribute {
@@ -194,19 +191,6 @@
axis: int32;
}
-table ReshapeAttribute {
- new_shape: [int32];
-}
-
-table SliceAttribute {
- start: [int32];
- size: [int32];
-}
-
-table TileAttribute {
- multiples: [int32];
-}
-
table ResizeAttribute {
scale: [int16];
offset: [int16];
@@ -242,13 +226,13 @@
}
table CondIfAttribute {
- then_branch: string;
- else_branch: string;
+ then_graph: string;
+ else_graph: string;
}
table WhileLoopAttribute {
- cond_branch: string;
- body_branch: string;
+ cond_graph: string;
+ body_graph: string;
}
table TransposeAttribute {