diff options
author | Eric Kunze <eric.kunze@arm.com> | 2023-05-10 16:41:13 -0700 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-06-21 17:03:10 +0000 |
commit | 52c89f40440ef5bcb318b3945bdc1463ce703b8b (patch) | |
tree | d1bc5197a8a671c4170ed07b857bde78cc5de563 /tosa.xml | |
parent | 9efe1a95658bbb405b06b3a1d9e5ef22b8388ea5 (diff) | |
download | specification-52c89f40440ef5bcb318b3945bdc1463ce703b8b.tar.gz |
Add ERF activation function
Defined for floating-point types only.
For integer versions, a TABLE should be used.
Change-Id: Ieaec6e6eb3227c5dcd9741cddd57426002a8db4d
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Diffstat (limited to 'tosa.xml')
-rw-r--r-- | tosa.xml | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -664,6 +664,33 @@ </typesupport> </operator> <operator> + <name>ERF</name> + <arguments> + <argument category="input" name="input" type="in_out_t*" shape="shape"> + <description>Input tensor</description> + <levellimit value="rank(shape)" limit="MAX_RANK"/> + </argument> + <argument category="output" name="output" type="in_out_t*" shape="shape"> + <description>Output tensor of same type and shape as input</description> + </argument> + </arguments> + <types> + <type name='in_out_t'/> + </types> + <typesupport mode="fp16" in_out_t="fp16_t"> + <profile name="MI"/> + <profile name="MT"/> + </typesupport> + <typesupport mode="bf16" in_out_t="bf16_t"> + <profile name="MI"/> + <profile name="MT"/> + </typesupport> + <typesupport mode="fp32" in_out_t="fp32_t"> + <profile name="MI"/> + <profile name="MT"/> + </typesupport> + </operator> + <operator> <name>SIGMOID</name> <arguments> <argument category="input" name="input" type="tensor_t" shape="shape" tensor-element-type="in_out_t"> |