aboutsummaryrefslogtreecommitdiff
path: root/tosa.xml
diff options
context:
space:
mode:
authorEric Kunze <eric.kunze@arm.com>2023-07-11 14:10:44 -0700
committerEric Kunze <eric.kunze@arm.com>2023-08-18 10:03:35 -0700
commit633a3d9f5caab42da4d25d4ed6b7f8706327a42e (patch)
treeac1d836f525b18a5ba5f641afe40115b2b49f529 /tosa.xml
parentfb0284e2912bd5fd73bf6f476901490e04c330a2 (diff)
downloadspecification-633a3d9f5caab42da4d25d4ed6b7f8706327a42e.tar.gz
Update Custom operator arguments
CUSTOM operators are still implementation specific, but now have attributes added to identify and namespace the underyling operation. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I8db2fffd0b34958bd8c718633a130941f32f962b
Diffstat (limited to 'tosa.xml')
-rw-r--r--tosa.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/tosa.xml b/tosa.xml
index b5a5f7a..8cf9fce 100644
--- a/tosa.xml
+++ b/tosa.xml
@@ -2596,6 +2596,30 @@ used.</description>
</typesupport>
</operator>
</operatorgroup>
+ <operatorgroup name="custom">
+ <operator>
+ <name>CUSTOM</name>
+ <arguments>
+ <argument category="input" name="input_list" type="tensor_list_t" shape="-" tensor-element-type="-">
+ <description>List of input tensors</description>
+ </argument>
+ <argument category="attribute" name="operator" type="String" shape="-" tensor-element-type="-">
+ <description>String which tells the backend which custom operator is being called</description>
+ </argument>
+ <argument category="attribute" name="domain" type="String" shape="-" tensor-element-type="-">
+ <description>String idenifier which can help avoid name collisions on the operator field.
+ Different implementations of a given operator would be in different domains.
+ Implementations can choose which domains they want to support.</description>
+ </argument>
+ <argument category="attribute" name="implementation_attrs" type="String" shape="-" tensor-element-type="-">
+ <description>String value containing implementation specific attributes which apply to the operation</description>
+ </argument>
+ <argument category="output" name="output_list" type="tensor_list_t" shape="-" tensor-element-type="-">
+ <description>List of output tensors</description>
+ </argument>
+ </arguments>
+ </operator>
+ </operatorgroup>
<operatorgroup name="control-flow">
<operator>
<name>COND_IF</name>