diff options
author | Tai Ly <tai.ly@arm.com> | 2024-02-14 19:57:38 +0000 |
---|---|---|
committer | Tai Ly <tai.ly@arm.com> | 2024-02-22 16:23:03 +0000 |
commit | 81db8ee8f580d30ec0ca53067df32ef046e6f09e (patch) | |
tree | 138f423e8e7d2c84c699955b150a81b45ada90c1 /include/attribute.def | |
parent | 61a8313f5a0cbcfc7c8ee8a44f05a5ca9b1015b9 (diff) | |
download | serialization_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 'include/attribute.def')
-rw-r--r-- | include/attribute.def | 20 |
1 files changed, 5 insertions, 15 deletions
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) |