diff options
author | Matthew Haddon <matthew.haddon@arm.com> | 2021-10-07 17:43:43 +0100 |
---|---|---|
committer | Matthew Haddon <matthew.haddon@arm.com> | 2021-10-08 21:08:09 +0100 |
commit | 7c2cdbcf6385729784b0ff26e96bd58604b80ab9 (patch) | |
tree | 4f95baf701693ceba47a4a528cf60716c49d0a38 /chapters/type_conversion.adoc | |
parent | b6335b827cc58cd6776fe77907d5dfada6d4d93b (diff) | |
download | specification-7c2cdbcf6385729784b0ff26e96bd58604b80ab9.tar.gz |
Force output shape to be correct for pooling operations
The avg_pool2d and max_pool2d operators trigger an error_if
statement if the output shape provided does not match the output
shape generated by the operation given the input arguments.
* Add pseudocode for floor operation
* Fixed type in RESCALE op
Signed-off-by: Matthew Haddon <matthew.haddon@arm.com>
Change-Id: I087faa331c30becc05719cd1261f436019dcdeb5
Diffstat (limited to 'chapters/type_conversion.adoc')
-rw-r--r-- | chapters/type_conversion.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chapters/type_conversion.adoc b/chapters/type_conversion.adoc index 8619fc3..aa2218f 100644 --- a/chapters/type_conversion.adoc +++ b/chapters/type_conversion.adoc @@ -124,9 +124,9 @@ for_each(index in shape) { |Any|signed 32 to signed 8|int32_t|int8_t |Any|signed 32 to signed 16|int32_t|int16_t |Any|signed 32 to signed 32|int32_t|int32_t -|Any|signed 48 to signed 8|int48_t_t|int8_t -|Any|signed 48 to signed 16|int48_t_t|int16_t -|Any|signed 48 to signed 32|int48_t_t|int32_t +|Any|signed 48 to signed 8|int48_t|int8_t +|Any|signed 48 to signed 16|int48_t|int16_t +|Any|signed 48 to signed 32|int48_t|int32_t |Any|unsigned 8 to signed 8|uint8_t|int8_t |Any|signed 8 to unsigned 8|int8_t|uint8_t |=== |