From 81db8ee8f580d30ec0ca53067df32ef046e6f09e Mon Sep 17 00:00:00 2001 From: Tai Ly Date: Wed, 14 Feb 2024 19:57:38 +0000 Subject: [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 Change-Id: I2001f19519987d9e64c18b1f11762f9d3b9be4ec --- schema/tosa.fbs | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) (limited to 'schema') 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 { -- cgit v1.2.1