diff options
author | Dominic Symes <dominic.symes@arm.com> | 2020-10-22 15:36:24 +0100 |
---|---|---|
committer | Dominic Symes <dominic.symes@arm.com> | 2020-10-22 15:39:46 +0100 |
commit | 298a029348e07903b1f78eb9994230fa205e869e (patch) | |
tree | aeb3f2c39949992c172f56f3f30140a716990314 /chapters/ewise_binary.adoc | |
parent | 1d84a1e8269b3f61aaa12219221e3bbf68a61fc6 (diff) | |
download | specification-298a029348e07903b1f78eb9994230fa205e869e.tar.gz |
Make rank() consistent across files
Complete the function naming change from
dimensions() to rank(). Fix MATMUL to
use apply_add() for additions, consistent
with the other operations.
Signed-off-by: Dominic Symes <dominic.symes@arm.com>
Change-Id: I6ba84cf8b016505e8477b04dd00f2a2bf3194492
Diffstat (limited to 'chapters/ewise_binary.adoc')
-rw-r--r-- | chapters/ewise_binary.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapters/ewise_binary.adoc b/chapters/ewise_binary.adoc index 92c4926..9c0e71c 100644 --- a/chapters/ewise_binary.adoc +++ b/chapters/ewise_binary.adoc @@ -593,7 +593,7 @@ None [source,c] ---- -assert(dimensions(shape)<=4) +assert(rank(shape)<=4) for_each (index in shape) { in_t value = tensor_read<in_t>(input, shape, index) out_t acc = apply_lookup(table, value) |