From 38d214cfa4491f1956f28d7eff428a8ed07d824c Mon Sep 17 00:00:00 2001 From: Kevin Cheng Date: Fri, 15 Oct 2021 15:49:19 -0700 Subject: 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 Change-Id: Ifcaa4ad686578cf814345ede8e7f37f0a04fd8ea --- schema/tosa.fbs | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'schema') 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, -- cgit v1.2.1