aboutsummaryrefslogtreecommitdiff
path: root/chapters/data_nodes.adoc
diff options
context:
space:
mode:
authorEric Kunze <eric.kunze@arm.com>2020-11-04 14:23:31 -0800
committerEric Kunze <eric.kunze@arm.com>2020-11-06 09:10:10 -0800
commit646ef42f0357c85b2898c39d1657a85487ac751c (patch)
treee94d322939b977c9a1037b1a8a47e2a844a85687 /chapters/data_nodes.adoc
parent9424cc4d4c5002c1da441f20052342b6b1b6ac7c (diff)
downloadspecification-646ef42f0357c85b2898c39d1657a85487ac751c.tar.gz
Operator argument consistency improvement.
Add values attribute to CONST operator. Remove stale references to input tensor 0 and 1. Remove out_t types where in and out are guaranteed to be the same type. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I75a8eb4dee67afbee3652d9e937aa0b82318dbd0
Diffstat (limited to 'chapters/data_nodes.adoc')
-rw-r--r--chapters/data_nodes.adoc29
1 files changed, 15 insertions, 14 deletions
diff --git a/chapters/data_nodes.adoc b/chapters/data_nodes.adoc
index ba38ef9..6164a95 100644
--- a/chapters/data_nodes.adoc
+++ b/chapters/data_nodes.adoc
@@ -18,6 +18,7 @@ A node containing constant data for use as the input to an operation. May hold d
|===
|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
|===
@@ -43,19 +44,19 @@ Returns a tensor with the same shape, type, and contents as the input.
|Argument|Type|Name|Shape|Description
|Input|in_t|input1|shape|Input tensor
-|Output|out_t*|output|shape|Output tensor of same type, size as the input tensor
+|Output|in_t*|output|shape|Output tensor of same type, size as the input tensor
|===
*Supported Data Types:*
|===
-|Profile|Mode|in_t|out_t
+|Profile|Mode|in_t
-|Any|Boolean|bool|bool
-|Any|signed 8|int8/aint8|int8/aint8
-|Any|signed 16|int16|int16
-|Any|signed 32|int32|int32
-|MI, MT|float|float|float
+|Any|Boolean|bool
+|Any|signed 8|int8/aint8
+|Any|signed 16|int16
+|Any|signed 32|int32
+|MI, MT|float|float
|===
==== IDENTITYN
@@ -68,19 +69,19 @@ Returns a list of tensors with the same shape, type, and contents as the input l
|Argument|Type|Name|Shape|Description
|Input|in_t|input1|[shape1, shape2, …]|List of input tensors
-|Output|out_t*|output|[shape1, shape2, …]|List of output tensors of same type, size as the input tensors
+|Output|in_t*|output|[shape1, shape2, …]|List of output tensors of same type, size as the input tensors
|===
*Supported Data Types:*
|===
-|Profile|Mode|in_t|out_t
+|Profile|Mode|in_t
-|Any|Boolean|bool|bool
-|Any|signed 8|int8/aint8|int8/aint8
-|Any|signed 16|int16|int16
-|Any|signed 32|int32|int32
-|MI, MT|float|float|float
+|Any|Boolean|bool
+|Any|signed 8|int8/aint8
+|Any|signed 16|int16
+|Any|signed 32|int32
+|MI, MT|float|float
|===
==== PLACEHOLDER