aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorKevin Cheng <kevin.cheng@arm.com>2021-10-15 15:49:19 -0700
committerKevin Cheng <kevin.cheng@arm.com>2021-10-27 10:43:44 -0700
commit38d214cfa4491f1956f28d7eff428a8ed07d824c (patch)
tree871d86c6bc442149159d021724c392a0b9256b51 /schema
parente6563f52231c603b409638b22530d016757542c8 (diff)
downloadserialization_lib-38d214cfa4491f1956f28d7eff428a8ed07d824c.tar.gz
Changes for 0.23.0 release
- Remove RELUN op - Add pad_const to PAD op - Make padding as an attribute of PAD op - Make perm as an attribute of TRANSPOSE op - Make table as attribute in Table op - Fix typo in operator.def Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: Ifcaa4ad686578cf814345ede8e7f37f0a04fd8ea
Diffstat (limited to 'schema')
-rw-r--r--schema/tosa.fbs21
1 files changed, 16 insertions, 5 deletions
diff --git a/schema/tosa.fbs b/schema/tosa.fbs
index 2e77fe5..8977f59 100644
--- a/schema/tosa.fbs
+++ b/schema/tosa.fbs
@@ -54,7 +54,7 @@ enum Op:uint32 {
// Activation
CLAMP,
- RELUN,
+ RESERVED,
SIGMOID,
TANH,
@@ -142,7 +142,7 @@ union Attribute {
PoolAttribute,
ConvAttribute,
TransposeConvAttribute,
- ReluNAttribute,
+ PadAttribute,
AxisAttribute,
ReshapeAttribute,
SliceAttribute,
@@ -154,6 +154,8 @@ union Attribute {
ArithmeticRightShiftAttribute,
CondIfAttribute,
WhileLoopAttribute,
+ TransposeAttribute,
+ TableAttribute,
}
table PoolAttribute {
@@ -175,9 +177,10 @@ table TransposeConvAttribute {
output_shape: [int32];
}
-table ReluNAttribute {
- max_int: int32;
- max_fp: float;
+table PadAttribute {
+ padding: [int32];
+ pad_const_int: int32;
+ pad_const_fp: float;
}
table AxisAttribute {
@@ -242,6 +245,14 @@ table WhileLoopAttribute {
body_branch: string;
}
+table TransposeAttribute {
+ perm: [int32];
+}
+
+table TableAttribute {
+ table: [int32];
+}
+
union QuantInfo {
UnaryQuantInfo,
ConvQuantInfo,