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/attribute.def | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'serialization/attribute.def') diff --git a/serialization/attribute.def b/serialization/attribute.def index 88e8c81..d937395 100644 --- a/serialization/attribute.def +++ b/serialization/attribute.def @@ -81,6 +81,12 @@ DEF_ATTRIBUTE(Rescale, 7, bool, S, double_round, bool, S, per_channel) +DEF_ATTRIBUTE(Mul, 1, + int32_t, S, shift) + +DEF_ATTRIBUTE(ArithmeticRightShift, 1, + bool, S, round) + DEF_ATTRIBUTE(CondIf, 2, string, S, then_branch, string, S, else_branch) -- cgit v1.2.1