aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Petit <kevin.petit@arm.com>2024-01-23 19:13:49 +0000
committerKevin Petit <kevin.petit@arm.com>2024-01-23 19:14:21 +0000
commite61f89b7c62d2d81b5890e61e4a4812d5e59afa1 (patch)
treeaaf3959daccf95ac6010f75b60b1673cd802bc8f
parent75920b1b5993fc653f9935a96f7327ddf14875fb (diff)
downloadspecification-e61f89b7c62d2d81b5890e61e4a4812d5e59afa1.tar.gz
pseudocode: use correct variable to write out data in REDUCE_MIN
Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: I7cad7d2bc6212e1765fbe3027abfb1fe37111445
-rw-r--r--pseudocode/operators/REDUCE_MIN.tosac2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/REDUCE_MIN.tosac b/pseudocode/operators/REDUCE_MIN.tosac
index 5eaa702..7e1f92d 100644
--- a/pseudocode/operators/REDUCE_MIN.tosac
+++ b/pseudocode/operators/REDUCE_MIN.tosac
@@ -20,6 +20,6 @@ for_each(left_index in left_shape) {
acc = apply_min_s<in_out_t>(acc, value);
}
out_index = flatten(left_index, [0], right_index);
- tensor_write<in_out_t>(output, shape, out_index, out);
+ tensor_write<in_out_t>(output, shape, out_index, acc);
}
}