Align the serialization schema with TOSA 0.24.0 specification
The operators are pool, conv, reshape, slice, transpose, and table.
Signed-off-by: TatWai Chong <tatwai.chong@arm.com>
Change-Id: I425ab407e699159f75834f31ad2d48e206c71749
diff --git a/include/attribute.def b/include/attribute.def
index 2534cc4..38f6d29 100644
--- a/include/attribute.def
+++ b/include/attribute.def
@@ -27,12 +27,12 @@
*/
DEF_ATTRIBUTE(Pool, 3,
- int32_t, V, padding,
+ int32_t, V, pad,
int32_t, V, kernel,
int32_t, V, stride)
DEF_ATTRIBUTE(Conv, 3,
- int32_t, V, padding,
+ int32_t, V, pad,
int32_t, V, stride,
int32_t, V, dilation)
@@ -51,10 +51,10 @@
int32_t, S, axis)
DEF_ATTRIBUTE(Reshape, 1,
- int32_t, V, shape)
+ int32_t, V, new_shape)
DEF_ATTRIBUTE(Slice, 2,
- int32_t, V, begin,
+ int32_t, V, start,
int32_t, V, size)
DEF_ATTRIBUTE(Tile, 1,
@@ -99,8 +99,8 @@
string, S, body_branch)
DEF_ATTRIBUTE(Transpose, 1,
- int32_t, V, perm)
+ int32_t, V, perms)
DEF_ATTRIBUTE(Table, 1,
- int32_t, V, table)
+ int16_t, V, table)