diff options
author | Eric Kunze <eric.kunze@arm.com> | 2023-05-18 21:48:01 -0700 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-05-18 21:48:01 -0700 |
commit | a79255f064b88203ae5ad188270bdb335190f759 (patch) | |
tree | f91e307488ee745b3beff54fdc1cd0b3fb7f6ce8 /chapters | |
parent | 98b3e33a5590c3ff11f156997f8f2c45d8dc48e0 (diff) | |
download | specification-a79255f064b88203ae5ad188270bdb335190f759.tar.gz |
Remove orphaned pseudocode lines
The lines using the flattened pad values were removed,
but the flatten call remained.
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I2b33945fa40ba413a657c4daaaf1820dd5b1c3d4
Diffstat (limited to 'chapters')
-rw-r--r-- | chapters/tensor_ops.adoc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/chapters/tensor_ops.adoc b/chapters/tensor_ops.adoc index 508b680..656af85 100644 --- a/chapters/tensor_ops.adoc +++ b/chapters/tensor_ops.adoc @@ -111,7 +111,6 @@ ERROR_IF(dilation_y < 1 || dilation_x < 1); ERROR_IF(OH != idiv_check(IH - 1 + pad_top + pad_bottom - (KH - 1) * dilation_y, stride_y) + 1); ERROR_IF(OW != idiv_check(IW - 1 + pad_left + pad_right - (KW - 1) * dilation_x, stride_x) + 1); -pad = flatten([0,0], pad, [0,0]); for_each(0 <= n < N, 0 <= oy < OH, 0 <= ox < OW; 0 <= oc < OC) { out_t acc = 0; index_t iy = oy * stride_y - pad_top; @@ -149,7 +148,6 @@ ERROR_IF(OD != idiv_check(ID - 1 + pad_d0 + pad_d1 - (KD - 1) * dilation_d, ERROR_IF(OH != idiv_check(IH - 1 + pad_top + pad_bottom - (KH - 1) * dilation_y, stride_y) + 1); ERROR_IF(OW != idiv_check(IW - 1 + pad_left + pad_right - (KW - 1) * dilation_x, stride_x) + 1); -pad = flatten([0,0], pad, [0,0]); for_each(0 <= n < N, 0 <= od < OD, 0 <= oy < OH, 0 <= ox < OW; 0 <= oc < OC) { out_t acc = 0; index_t id = od * stride_d - pad_d0; @@ -188,7 +186,6 @@ ERROR_IF(dilation_y < 1 || dilation_x < 1); ERROR_IF(OH != idiv_check(IH - 1 + pad_top + pad_bottom - (KH - 1) * dilation_y, stride_y) + 1); ERROR_IF(OW != idiv_check(IW - 1 + pad_left + pad_right - (KW - 1) * dilation_x, stride_x) + 1); -pad = flatten([0,0], pad, [0,0]); 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; |