aboutsummaryrefslogtreecommitdiff
path: root/chapters/ewise_binary.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'chapters/ewise_binary.adoc')
-rw-r--r--chapters/ewise_binary.adoc2
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)