aboutsummaryrefslogtreecommitdiff
path: root/schema/tosa.fbs
diff options
context:
space:
mode:
Diffstat (limited to 'schema/tosa.fbs')
-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,