aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/MAX_POOL2D.tosac
diff options
context:
space:
mode:
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 ) {