diff options
author | Eric Kunze <eric.kunze@arm.com> | 2023-07-11 14:10:44 -0700 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-08-18 10:03:35 -0700 |
commit | 633a3d9f5caab42da4d25d4ed6b7f8706327a42e (patch) | |
tree | ac1d836f525b18a5ba5f641afe40115b2b49f529 /tosa.xml | |
parent | fb0284e2912bd5fd73bf6f476901490e04c330a2 (diff) | |
download | specification-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.xml | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -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> |