diff options
author | Tai Ly <tai.ly@arm.com> | 2024-04-09 19:31:24 +0000 |
---|---|---|
committer | Tai Ly <tai.ly@arm.com> | 2024-04-09 19:31:30 +0000 |
commit | 57d781883142db8a45fe98ac1a1dfacc49cba78a (patch) | |
tree | f700914f2775fb178764af200794980237bda895 /include/attribute.def | |
parent | ce911a2f1d9cd678fb9fe82a40c86ad0c6772f5a (diff) | |
download | serialization_lib-57d781883142db8a45fe98ac1a1dfacc49cba78a.tar.gz |
[serialization_lib] Remove unused type field from Pad and Clamp
This patch removes the "type" field from PadAttribute and ClampAttribute
because they are unused and unneeded.
Signed-off-by: Tai Ly <tai.ly@arm.com>
Change-Id: I378291b340ecee86824f25b3887aa4511207db23
Diffstat (limited to 'include/attribute.def')
-rw-r--r-- | include/attribute.def | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/attribute.def b/include/attribute.def index 30b432d..723543e 100644 --- a/include/attribute.def +++ b/include/attribute.def @@ -52,9 +52,8 @@ DEF_ATTRIBUTE(TransposeConv, 7, bool, S, local_bound, DType, S, acc_type) -DEF_ATTRIBUTE(Pad, 2, - uint8_t, V, pad_const, - DType, S, type) +DEF_ATTRIBUTE(Pad, 1, + uint8_t, V, pad_const) DEF_ATTRIBUTE(Axis, 1, int32_t, S, axis) @@ -65,10 +64,9 @@ DEF_ATTRIBUTE(Resize, 4, int16_t, V, border, ResizeMode, S, mode) -DEF_ATTRIBUTE(Clamp, 3, +DEF_ATTRIBUTE(Clamp, 2, uint8_t, V, min_val, - uint8_t, V, max_val, - DType, S, type) + uint8_t, V, max_val) DEF_ATTRIBUTE(Rescale, 7, int32_t, S, input_zp, |