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 --- include/attribute.def | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'include/attribute.def') diff --git a/include/attribute.def b/include/attribute.def index 8d74ff9..b6ff3c2 100644 --- a/include/attribute.def +++ b/include/attribute.def @@ -32,7 +32,7 @@ DEF_ATTRIBUTE(Pool, 6, int32_t, V, stride, int32_t, S, input_zp, int32_t, S, output_zp, - DType, S, accum_dtype) + DType, S, acc_type) DEF_ATTRIBUTE(Conv, 6, int32_t, V, pad, @@ -58,16 +58,6 @@ DEF_ATTRIBUTE(Pad, 3, DEF_ATTRIBUTE(Axis, 1, int32_t, S, axis) -DEF_ATTRIBUTE(Reshape, 1, - int32_t, V, new_shape) - -DEF_ATTRIBUTE(Slice, 2, - int32_t, V, start, - int32_t, V, size) - -DEF_ATTRIBUTE(Tile, 1, - int32_t, V, multiples) - DEF_ATTRIBUTE(Resize, 4, int16_t, V, scale, int16_t, V, offset, @@ -98,12 +88,12 @@ DEF_ATTRIBUTE(ArithmeticRightShift, 1, bool, S, round) DEF_ATTRIBUTE(CondIf, 2, - string, S, then_branch, - string, S, else_branch) + string, S, then_graph, + string, S, else_graph) DEF_ATTRIBUTE(WhileLoop, 2, - string, S, cond_branch, - string, S, body_branch) + string, S, cond_graph, + string, S, body_graph) DEF_ATTRIBUTE(Transpose, 1, int32_t, V, perms) -- cgit v1.2.1