aboutsummaryrefslogtreecommitdiff
path: root/tosa.xml
diff options
context:
space:
mode:
authorKevin Petit <kevin.petit@arm.com>2023-04-27 17:28:16 +0100
committerKevin Petit <kevin.petit@arm.com>2023-04-28 17:25:25 +0100
commit53e76592361df8c33a6d9580f0170a335c1a15fd (patch)
treec7db37962f7ddb9a4da9fef30827544f492855dd /tosa.xml
parentbc72ba8ec128dc8c851455300085961d6e716959 (diff)
downloadspecification-53e76592361df8c33a6d9580f0170a335c1a15fd.tar.gz
Fix resize_t enum name
resize_t is already used in the type support table for RESIZE, rename the mode enum to resize_mode_t. Also add a python function to get an enum object by name to the spec object. Change-Id: Id12c10929beda469c6e3714518d6e26f18ddd440 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Diffstat (limited to 'tosa.xml')
-rw-r--r--tosa.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tosa.xml b/tosa.xml
index fa45c99..7810127 100644
--- a/tosa.xml
+++ b/tosa.xml
@@ -1977,7 +1977,7 @@ used.</description>
<argument category="attribute" name="border" type="int16_t*" shape="[2]">
<description>[border_y, border_x]</description>
</argument>
- <argument category="attribute" name="mode" type="resize_t" shape="-">
+ <argument category="attribute" name="mode" type="resize_mode_t" shape="-">
<description>BILINEAR or NEAREST</description>
</argument>
<argument category="output" name="output" type="out_t*" shape="[N,OH,OW,C]">
@@ -2284,7 +2284,7 @@ used.</description>
</operatorgroup>
</operators>
- <enum name="resize_t" description="Valid resize types">
+ <enum name="resize_mode_t" description="Valid resize types">
<enumval value="0" name="NEAREST_NEIGHBOR" description="Nearest neighbor resize"/>
<enumval value="1" name="BILINEAR" description="Bilinear resize"/>
</enum>