From aee1facbde25caf27cc34e5ec08eb8bba6af8e18 Mon Sep 17 00:00:00 2001 From: Kevin Cheng Date: Wed, 11 Nov 2020 13:54:06 -0800 Subject: 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 Change-Id: I33c8afdc8998e8518f2b0e5fabddd36ce3aa2ee9 --- serialization/tosa.fbs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'serialization/tosa.fbs') 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 { -- cgit v1.2.1