diff options
author | Dominic Symes <dominic.symes@arm.com> | 2021-03-19 13:56:27 +0000 |
---|---|---|
committer | Dominic Symes <dominic.symes@arm.com> | 2021-07-13 09:51:07 +0100 |
commit | ca2a854e3d46f91ecaa446d4b2311112cc2326fd (patch) | |
tree | 23fc1bb30c333a28d4a743a4a05059b79cf7b826 /chapters/data_layout.adoc | |
parent | a9101530d8ea7a3cb470b722bc6cf8745ab283ac (diff) | |
download | specification-ca2a854e3d46f91ecaa446d4b2311112cc2326fd.tar.gz |
Add definition of TOSA compliance
Signed-off-by: Dominic Symes <dominic.symes@arm.com>
Change-Id: I2e25d0467843adb078d5ab9fd681af40b2ffa52e
Diffstat (limited to 'chapters/data_layout.adoc')
-rw-r--r-- | chapters/data_layout.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapters/data_layout.adoc b/chapters/data_layout.adoc index 09df5be..e625085 100644 --- a/chapters/data_layout.adoc +++ b/chapters/data_layout.adoc @@ -121,7 +121,7 @@ Returns a tensor with the same type/values as the input, with a new shape specif [source,c++] ---- -REQUIRE(tensor_size(shape1) == tensor_size(shape)); +ERROR_IF(tensor_size(shape1) != tensor_size(shape)); for(i = 0; i < tensor_size(shape); i++) { output[i] = input[i]; } |