aboutsummaryrefslogtreecommitdiff
path: root/include/attribute.def
diff options
context:
space:
mode:
Diffstat (limited to 'include/attribute.def')
-rw-r--r--include/attribute.def20
1 files changed, 7 insertions, 13 deletions
diff --git a/include/attribute.def b/include/attribute.def
index b6ff3c2..2176f47 100644
--- a/include/attribute.def
+++ b/include/attribute.def
@@ -1,5 +1,5 @@
-// Copyright (c) 2020-2023, ARM Limited.
+// Copyright (c) 2020-2024, ARM Limited.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -50,10 +50,8 @@ DEF_ATTRIBUTE(TransposeConv, 6,
int32_t, S, weight_zp,
bool, S, local_bound)
-DEF_ATTRIBUTE(Pad, 3,
- int32_t, V, padding,
- int32_t, S, pad_const_int,
- float, S, pad_const_fp)
+DEF_ATTRIBUTE(Pad, 1,
+ uint8_t, V, pad_const)
DEF_ATTRIBUTE(Axis, 1,
int32_t, S, axis)
@@ -64,17 +62,13 @@ DEF_ATTRIBUTE(Resize, 4,
int16_t, V, border,
ResizeMode, S, mode)
-DEF_ATTRIBUTE(Clamp, 4,
- int32_t, S, min_int,
- int32_t, S, max_int,
- float, S, min_fp,
- float, S, max_fp)
+DEF_ATTRIBUTE(Clamp, 2,
+ uint8_t, V, min_val,
+ uint8_t, V, max_val)
-DEF_ATTRIBUTE(Rescale, 9,
+DEF_ATTRIBUTE(Rescale, 7,
int32_t, S, input_zp,
int32_t, S, output_zp,
- int32_t, V, multiplier,
- int32_t, V, shift,
bool, S, scale32,
bool, S, double_round,
bool, S, per_channel,