aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorTai Ly <tai.ly@arm.com>2024-02-14 19:57:38 +0000
committerTai Ly <tai.ly@arm.com>2024-02-22 16:23:03 +0000
commit81db8ee8f580d30ec0ca53067df32ef046e6f09e (patch)
tree138f423e8e7d2c84c699955b150a81b45ada90c1 /schema
parent61a8313f5a0cbcfc7c8ee8a44f05a5ca9b1015b9 (diff)
downloadserialization_lib-81db8ee8f580d30ec0ca53067df32ef046e6f09e.tar.gz
[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
Diffstat (limited to 'schema')
-rw-r--r--schema/tosa.fbs26
1 files changed, 5 insertions, 21 deletions
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 @@ union Attribute {
TransposeConvAttribute,
PadAttribute,
AxisAttribute,
- ReshapeAttribute,
- SliceAttribute,
- TileAttribute,
ResizeAttribute,
ClampAttribute,
RescaleAttribute,
@@ -163,7 +160,7 @@ table PoolAttribute {
stride: [int32];
input_zp: int32;
output_zp: int32;
- accum_dtype: DType;
+ acc_type: DType;
}
table ConvAttribute {
@@ -194,19 +191,6 @@ table AxisAttribute {
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 ArithmeticRightShiftAttribute {
}
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 {