aboutsummaryrefslogtreecommitdiff
path: root/chapters/data_nodes.adoc
diff options
context:
space:
mode:
authorEric Kunze <eric.kunze@arm.com>2022-08-05 15:40:12 -0700
committerEric Kunze <eric.kunze@arm.com>2022-08-19 14:19:28 -0700
commit58098a7b1ffcf41da759f862deb753c82fe5b4b0 (patch)
tree75b61a482e23293b8af85adf6210f2d3e4e5695d /chapters/data_nodes.adoc
parent6361d1664c7b82ecc3afdd0eb87e96afea430f89 (diff)
downloadspecification-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/data_nodes.adoc')
-rw-r--r--chapters/data_nodes.adoc45
1 files changed, 2 insertions, 43 deletions
diff --git a/chapters/data_nodes.adoc b/chapters/data_nodes.adoc
index 5f45464..65e6b75 100644
--- a/chapters/data_nodes.adoc
+++ b/chapters/data_nodes.adoc
@@ -13,52 +13,11 @@
A node containing constant data for use as the input to an operation. May hold data in any of the supported data formats.
-*Arguments:*
-
-|===
-|Argument|Type|Name|Shape|Description
-
-|Attribute|out_t*|values|shape|Constant values
-|Output|out_t*|output|shape|Output tensor of same type, size as the input tensor
-|===
-
-*Supported Data Types:*
-
-|===
-|Profile|Mode|out_t
-
-|Any|Boolean|bool_t
-|Any|signed 8|int8_t
-|Any|signed 16|int16_t
-|Any|signed 32|int32_t
-|MI, MT|fp16|fp16_t
-|MI, MT|bf16|bf16_t
-|MI, MT|fp32|fp32_t
-|===
+include::{generated}/operators/CONST.adoc[]
==== IDENTITY
Returns a tensor with the same shape, type, and contents as the input.
-*Arguments:*
-
-|===
-|Argument|Type|Name|Shape|Description
-
-|Input|in_out_t*|input1|shape|Input tensor
-|Output|in_out_t*|output|shape|Output tensor of same type, size as the input tensor
-|===
-
-*Supported Data Types:*
-
-|===
-|Profile|Mode|in_out_t
+include::{generated}/operators/IDENTITY.adoc[]
-|Any|Boolean|bool_t
-|Any|signed 8|int8_t
-|Any|signed 16|int16_t
-|Any|signed 32|int32_t
-|MI, MT|fp16|fp16_t
-|MI, MT|bf16|bf16_t
-|MI, MT|fp32|fp32_t
-|===