aboutsummaryrefslogtreecommitdiff
path: root/serialization/tosa.fbs
diff options
context:
space:
mode:
authorKevin Cheng <kevin.cheng@arm.com>2020-11-11 13:54:06 -0800
committerKevin Cheng <kevin.cheng@arm.com>2020-11-12 11:47:16 -0800
commitaee1facbde25caf27cc34e5ec08eb8bba6af8e18 (patch)
tree0ff32b95e6f32444445ca01c1b47835b52fb955f /serialization/tosa.fbs
parent99bea145a050e12f1b5f8301979713d9a9b04e12 (diff)
downloadreference_model-aee1facbde25caf27cc34e5ec08eb8bba6af8e18.tar.gz
Implement and add unit tests for MUL and ARITHMETIC_RIGHT_SHIFT
add .clang-format Add expected failure for RESIZE and RESCALE unit tests Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I33c8afdc8998e8518f2b0e5fabddd36ce3aa2ee9
Diffstat (limited to 'serialization/tosa.fbs')
-rw-r--r--serialization/tosa.fbs11
1 files changed, 8 insertions, 3 deletions
diff --git a/serialization/tosa.fbs b/serialization/tosa.fbs
index 841cf3d..f57d9dc 100644
--- a/serialization/tosa.fbs
+++ b/serialization/tosa.fbs
@@ -167,7 +167,8 @@ union Attribute {
ResizeAttribute,
ClampAttribute,
RescaleAttribute,
- CustomAttribute,
+ MulAttribute,
+ ArithmeticRightShiftAttribute,
CondIfAttribute,
WhileLoopAttribute,
}
@@ -238,8 +239,12 @@ table RescaleAttribute {
per_channel: bool;
}
-table CustomAttribute {
- identifier: string;
+table MulAttribute {
+ shift: int32;
+}
+
+table ArithmeticRightShiftAttribute {
+ round: bool;
}
table CondIfAttribute {