diff options
author | Eric Kunze <eric.kunze@arm.com> | 2022-08-05 15:40:12 -0700 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2022-08-19 14:19:28 -0700 |
commit | 58098a7b1ffcf41da759f862deb753c82fe5b4b0 (patch) | |
tree | 75b61a482e23293b8af85adf6210f2d3e4e5695d /chapters/ewise_ternary.adoc | |
parent | 6361d1664c7b82ecc3afdd0eb87e96afea430f89 (diff) | |
download | specification-58098a7b1ffcf41da759f862deb753c82fe5b4b0.tar.gz |
Machine parsable specification
This converts portions of the asciidoc specification into an xml
document and schema. For the html and pdf outputs, the xml is
converted to asciidoc files that are included into the existing
specification.
The xml allows future automated uses of the tosa specification
while maintaining rough compatibility with the existing document.
No significant functional changes are included in this change.
Change-Id: I7f1f95c527638e270c157d58fcdec6a3510daea5
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Diffstat (limited to 'chapters/ewise_ternary.adoc')
-rw-r--r-- | chapters/ewise_ternary.adoc | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/chapters/ewise_ternary.adoc b/chapters/ewise_ternary.adoc index 84fe14d..5cd1409 100644 --- a/chapters/ewise_ternary.adoc +++ b/chapters/ewise_ternary.adoc @@ -13,16 +13,7 @@ Elementwise select of the output based on a condition. -*Arguments:* - -|=== -|Argument|Type|Name|Shape|Description - -|Input|cmp_t|input1|shape1|Input selector tensor -|Input|in_out_t*|input2|shape2|Input value tensor if input1 is True -|Input|in_out_t*|input3|shape3|Input value tensor if input1 is False -|Output|in_out_t*|output|shape|Output tensor of same type as input2 and input3, with broadcast shape if necessary -|=== +include::{generated}/operators/SELECT.adoc[] *Operation Function:* @@ -44,16 +35,3 @@ for_each(index in shape) { tensor_write<in_out_t>(output, shape, index, result); } ---- - -*Supported Data Types:* -|=== -|Profile|Mode|cmp_t|in_out_t - -|Any|Boolean|bool_t|bool_t -|Any|signed 8|bool_t|int8_t -|Any|signed 16|bool_t|int16_t -|Any|signed 32|bool_t|int32_t -|MI, MT|bool_t|fp16|fp16_t -|MI, MT|bool_t|bf16|bf16_t -|MI, MT|bool_t|fp32|fp32_t -|=== |