aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/DEPTHWISE_CONV2D.tosac
diff options
context:
space:
mode:
authorKevin Petit <kevin.petit@arm.com>2024-01-19 11:08:31 +0000
committerKevin Petit <kevin.petit@arm.com>2024-01-19 11:08:31 +0000
commitfe2fd1e0e2fe9e9b9b6c73d57840187faf899966 (patch)
treeacf2d436ef21199b6b6e518a85793608161a8656 /pseudocode/operators/DEPTHWISE_CONV2D.tosac
parent1c16f5447886826cd86d0fe2893dcd193c42dcec (diff)
downloadspecification-fe2fd1e0e2fe9e9b9b6c73d57840187faf899966.tar.gz
pseudocode: only use commas to separate ranges in for_each statements
The semicolons had no semantic meaning. Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: I9447ea24c82a32c8bfe07fcc560f34a696e59831
Diffstat (limited to 'pseudocode/operators/DEPTHWISE_CONV2D.tosac')
-rw-r--r--pseudocode/operators/DEPTHWISE_CONV2D.tosac2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/DEPTHWISE_CONV2D.tosac b/pseudocode/operators/DEPTHWISE_CONV2D.tosac
index c7a0f0f..6cbcc6a 100644
--- a/pseudocode/operators/DEPTHWISE_CONV2D.tosac
+++ b/pseudocode/operators/DEPTHWISE_CONV2D.tosac
@@ -16,7 +16,7 @@ ERROR_IF(OH != idiv_check(IH - 1 + pad_top + pad_bottom - (KH - 1) * dilation_y,
ERROR_IF(OW != idiv_check(IW - 1 + pad_left + pad_right - (KW - 1) * dilation_x, stride_x) + 1);
ERROR_IF(BC != C*M && BC != 1);
-for_each(0 <= n < N, 0 <= oy < OH, 0 <= ox < OW; 0 <= c < C, 0 <= m < M) {
+for_each(0 <= n < N, 0 <= oy < OH, 0 <= ox < OW, 0 <= c < C, 0 <= m < M) {
out_t acc = 0;
index_t iy = oy * stride_y - pad_top;
index_t ix = ox * stride_x - pad_left;