[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/include/attribute.def b/include/attribute.def
index 8d74ff9..b6ff3c2 100644
--- a/include/attribute.def
+++ b/include/attribute.def
@@ -32,7 +32,7 @@
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(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 @@
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)