aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/SLICE.tosac
diff options
context:
space:
mode:
Diffstat (limited to 'pseudocode/operators/SLICE.tosac')
-rw-r--r--pseudocode/operators/SLICE.tosac2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/SLICE.tosac b/pseudocode/operators/SLICE.tosac
index b6f70c5..b7b0680 100644
--- a/pseudocode/operators/SLICE.tosac
+++ b/pseudocode/operators/SLICE.tosac
@@ -20,7 +20,7 @@ for_each(index in rank(shape1)) {
for_each(index in shape) {
shape_t tmp_index = index;
- for(i = 0; i < rank(shape); i++) {
+ for(int32_t i = 0; i < rank(shape); i++) {
tmp_index[i] = index[i] + start[i];
}
in_out_t value = tensor_read<in_out_t>(input1, shape1, tmp_index);