aboutsummaryrefslogtreecommitdiff
path: root/include/attribute.def
diff options
context:
space:
mode:
Diffstat (limited to 'include/attribute.def')
-rw-r--r--include/attribute.def10
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,