aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/MAX_POOL2D.tosac
diff options
context:
space:
mode:
authorKevin Petit <kevin.petit@arm.com>2024-02-08 11:03:29 +0000
committerKevin Petit <kevin.petit@arm.com>2024-02-23 18:33:47 +0000
commit0635552aed54eee35ca417901b65754a07a12dae (patch)
tree55cdac9a1bdb2edd1ad862ae8976698bdb7bbb3a /pseudocode/operators/MAX_POOL2D.tosac
parentd2ca22c2af5e5a9c6c7279d0578c2b1f9620d5df (diff)
downloadspecification-0635552aed54eee35ca417901b65754a07a12dae.tar.gz
pseudocode: replace calls to non-existent functions
... with the correct libary functions. Change-Id: I99c252629d27be3977852a422774bc0be94922b3 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Diffstat (limited to 'pseudocode/operators/MAX_POOL2D.tosac')
-rw-r--r--pseudocode/operators/MAX_POOL2D.tosac2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/MAX_POOL2D.tosac b/pseudocode/operators/MAX_POOL2D.tosac
index eea5a70..3f0c4e0 100644
--- a/pseudocode/operators/MAX_POOL2D.tosac
+++ b/pseudocode/operators/MAX_POOL2D.tosac
@@ -18,7 +18,7 @@ ERROR_IF(OH != idiv_check(IH + pad_top + pad_bottom - kernel_y, stride_y) + 1);
ERROR_IF(OW != idiv_check(IW + pad_left + pad_right - kernel_x, stride_x) + 1);
for_each(0 <= n < N, 0 <= oy < OH, 0 <= ox < OW, 0 <= c < C ) {
- in_out_t acc = minimum_value<in_out_t>;
+ in_out_t acc = minimum_s<in_out_t>();
index_t iy = oy * stride_y - pad_top;
index_t ix = ox * stride_x - pad_left;
for_each( 0 <= ky < kernel_y, 0 <= kx < kernel_x ) {