diff options
Diffstat (limited to 'pseudocode/operators/REVERSE.tosac')
-rw-r--r-- | pseudocode/operators/REVERSE.tosac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/REVERSE.tosac b/pseudocode/operators/REVERSE.tosac index 63830d2..4a39cf2 100644 --- a/pseudocode/operators/REVERSE.tosac +++ b/pseudocode/operators/REVERSE.tosac @@ -9,7 +9,7 @@ ERROR_IF(axis < 0 || axis >= rank(shape)); for_each(index in shape) { - dim_t tmp_index = index; + shape_t tmp_index = index; tmp_index[axis] = shape[axis] - 1 - index[axis]; in_out_t value = tensor_read<in_out_t>(input, shape, tmp_index); tensor_write<in_out_t>(output, shape, index, value); |