aboutsummaryrefslogtreecommitdiff
path: root/include/operator.def
diff options
context:
space:
mode:
authorKevin Cheng <kevin.cheng@arm.com>2021-10-15 15:49:19 -0700
committerKevin Cheng <kevin.cheng@arm.com>2021-10-27 10:43:44 -0700
commit38d214cfa4491f1956f28d7eff428a8ed07d824c (patch)
tree871d86c6bc442149159d021724c392a0b9256b51 /include/operator.def
parente6563f52231c603b409638b22530d016757542c8 (diff)
downloadserialization_lib-38d214cfa4491f1956f28d7eff428a8ed07d824c.tar.gz
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 <kevin.cheng@arm.com> Change-Id: Ifcaa4ad686578cf814345ede8e7f37f0a04fd8ea
Diffstat (limited to 'include/operator.def')
-rw-r--r--include/operator.def21
1 files changed, 10 insertions, 11 deletions
diff --git a/include/operator.def b/include/operator.def
index 386e72a..0b186c5 100644
--- a/include/operator.def
+++ b/include/operator.def
@@ -39,7 +39,6 @@ DEF_OPERATOR(transpose_conv2d, TRANSPOSE_CONV2D, TransposeConv2d,
/* activation */
DEF_OPERATOR(clamp, CLAMP, Clamp, Clamp, None)
-DEF_OPERATOR(reluN, RELUN, ReluN, ReluN, None)
DEF_OPERATOR(sigmoid, SIGMOID, Sigmoid, None, None)
DEF_OPERATOR(tanh, TANH, Tanh, None, None)
@@ -60,7 +59,7 @@ DEF_OPERATOR(minimum, MINIMUM, Minimum,
DEF_OPERATOR(mul, MUL, Mul, Mul, None)
DEF_OPERATOR(pow, POW, Pow, None, None)
DEF_OPERATOR(sub, SUB, Sub, None, None)
-DEF_OPERATOR(table, TABLE, Table, None, None)
+DEF_OPERATOR(table, TABLE, Table, Table, None)
/* elementwise - unary */
DEF_OPERATOR(abs, ABS, Abs, None, None)
@@ -84,21 +83,21 @@ DEF_OPERATOR(greater, GREATER, Greater,
DEF_OPERATOR(greater_equal, GREATER_EQUAL, GreaterEqual, None, None)
/* reduction */
-DEF_OPERATOR(reduce_any, REDUCE_ANY, ReduceAny, Reduce, None)
-DEF_OPERATOR(reduce_all, REDUCE_ALL, ReduceAll, Reduce, None)
-DEF_OPERATOR(reduce_max, REDUCE_MAX, ReduceMax, Reduce, None)
-DEF_OPERATOR(reduce_min, REDUCE_MIN, ReduceMin, Reduce, None)
-DEF_OPERATOR(reduce_prod, REDUCE_PRODUCT, ReduceProduct, Reduce, None)
-DEF_OPERATOR(reduce_sum, REDUCE_SUM, ReduceSum, Reduce, None)
+DEF_OPERATOR(reduce_any, REDUCE_ANY, ReduceAny, Axis, None)
+DEF_OPERATOR(reduce_all, REDUCE_ALL, ReduceAll, Axis, None)
+DEF_OPERATOR(reduce_max, REDUCE_MAX, ReduceMax, Axis, None)
+DEF_OPERATOR(reduce_min, REDUCE_MIN, ReduceMin, Axis, None)
+DEF_OPERATOR(reduce_prod, REDUCE_PRODUCT, ReduceProduct, Axis, None)
+DEF_OPERATOR(reduce_sum, REDUCE_SUM, ReduceSum, Axis, None)
/* memory operation */
DEF_OPERATOR(concat, CONCAT, Concat, Axis, None)
-DEF_OPERATOR(pad, PAD, Pad, None, Pad)
+DEF_OPERATOR(pad, PAD, Pad, Pad, Pad)
DEF_OPERATOR(reshape, RESHAPE, Reshape, Reshape, None)
-DEF_OPERATOR(reverse, REVERSE, Reverse, Reverse, None)
+DEF_OPERATOR(reverse, REVERSE, Reverse, Axis, None)
DEF_OPERATOR(slice, SLICE, Slice, Slice, None)
DEF_OPERATOR(tile, TILE, Tile, Tile, None)
-DEF_OPERATOR(transpose, TRANSPOSE, Transpose, None, None)
+DEF_OPERATOR(transpose, TRANSPOSE, Transpose, Transpose, None)
/* gather/scatter */
DEF_OPERATOR(gather, GATHER, Gather, None, None)