diff options
author | Dominic Symes <dominic.symes@arm.com> | 2022-04-29 16:15:56 +0100 |
---|---|---|
committer | Dominic Symes <dominic.symes@arm.com> | 2022-05-03 13:36:22 +0000 |
commit | cb6c6b33cc85d6c40d46b1ee78bcbd6a049017d5 (patch) | |
tree | 94988082f976e28f25cc13c0331efd119f83b3f2 /chapters/data_layout.adoc | |
parent | 5de08d1db3c1de4fddf3f4bb7a286db35cb9f9d1 (diff) | |
download | specification-cb6c6b33cc85d6c40d46b1ee78bcbd6a049017d5.tar.gz |
Specify width of integer types
Clarify for types previously definded as int
the width assumed by the specification.
Signed-off-by: Dominic Symes <dominic.symes@arm.com>
Change-Id: Ied62d4803a4323a600d33cff09752a76ca48f18d
Diffstat (limited to 'chapters/data_layout.adoc')
-rw-r--r-- | chapters/data_layout.adoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chapters/data_layout.adoc b/chapters/data_layout.adoc index 08eda29..246a0f6 100644 --- a/chapters/data_layout.adoc +++ b/chapters/data_layout.adoc @@ -19,7 +19,7 @@ No data conversion happens during a concat operation. |Argument|Type|Name|Shape|Description |Input|in_out_t*|input1|shapes1[]|List of input tensors. All inputs must have the same rank and data type -|Attribute|int|axis|-|Axis along which concatenation is to occur, in range from 0 to rank(shape)-1 +|Attribute|int32_t|axis|-|Axis along which concatenation is to occur, in range from 0 to rank(shape)-1 |Output|in_out_t*|output|shape|Output tensor |=== @@ -76,7 +76,7 @@ The pad_const value includes the zero point if the tensor uses a zero point. |Argument|Type|Name|Shape|Description |Input|in_out_t*|input1|shape1|Input tensor -|Attribute|int|padding|[rank(input1),2]|Amount of padding to be done +|Attribute|int32_t|padding|[rank(input1),2]|Amount of padding to be done |Attribute|in_out_t|pad_const|-|Constant value to be used as padding |Output|in_out_t*|output|shape|Output tensor of same type as the input tensor |=== @@ -125,7 +125,7 @@ Returns a tensor with the same type/values as the input, with a new shape specif |Argument|Type|Name|Shape|Description |Input|in_out_t*|input1|shape1|Input tensor -|Attribute|int|new_shape|[rank(output)]|List of values, with each element giving the size of the result tensor for the given dimension. At most one dimension may be given as -1 to automatically calculate the dimension size. +|Attribute|int32_t|new_shape|[rank(output)]|List of values, with each element giving the size of the result tensor for the given dimension. At most one dimension may be given as -1 to automatically calculate the dimension size. |Output|in_out_t*|output|shape|Output tensor of same type, size as the input tensor |=== @@ -161,7 +161,7 @@ Returns a tensor with the same type/values as the input, with the data reversed |Argument|Type|Name|Shape|Description |Input|in_out_t*|input|shape|Input tensor from 1 to 4 dims -|Attribute|int|axis|-|Axis to reverse, in range from 0 to rank(shape)-1 +|Attribute|int32_t|axis|-|Axis to reverse, in range from 0 to rank(shape)-1 |Output|in_out_t*|output|shape|Output tensor. Same shape as input tensor. |=== @@ -200,8 +200,8 @@ No data conversion happens during a slice operation. |Argument|Type|Name|Shape|Description |Input|in_out_t*|input1|shape1|Input tensor with rank from 1 to 4 -|Attribute|int|start|[rank(input1)]|List of integer coordinates, of length equal to the rank of input1. Start coordinate for slicing. -|Attribute|int|size|[rank(input1)]|List of integer size values, of length equal to the rank of input1. Size of the input to be used. +|Attribute|int32_t|start|[rank(input1)]|List of integer coordinates, of length equal to the rank of input1. Start coordinate for slicing. +|Attribute|int32_t|size|[rank(input1)]|List of integer size values, of length equal to the rank of input1. Size of the input to be used. |Output|in_out_t*|output|shape|Output tensor of same type as the input tensor |=== |