aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chapters/ewise_ternary.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapters/ewise_ternary.adoc b/chapters/ewise_ternary.adoc
index c6babbc..751c093 100644
--- a/chapters/ewise_ternary.adoc
+++ b/chapters/ewise_ternary.adoc
@@ -31,7 +31,7 @@ Elementwise select of the output based on a condition.
for_each(index in shape) {
index1 = apply_broadcast(shape, shape1, index);
index2 = apply_broadcast(shape, shape2, index);
- index3 = apply_broadcast(shape, shpae3, index);
+ index3 = apply_broadcast(shape, shape3, index);
cmp_t value1 = tensor_read<cmp_t>(input1, shape1, index1);
in_t value2 = tensor_read<in_t>(input2, shape2, index2);
in_t value3 = tensor_read<in_t>(input3, shape3, index3);