diff options
author | Kevin Petit <kevin.petit@arm.com> | 2024-02-08 11:03:29 +0000 |
---|---|---|
committer | Kevin Petit <kevin.petit@arm.com> | 2024-02-23 18:33:47 +0000 |
commit | 0635552aed54eee35ca417901b65754a07a12dae (patch) | |
tree | 55cdac9a1bdb2edd1ad862ae8976698bdb7bbb3a /pseudocode/operators/REDUCE_MIN.tosac | |
parent | d2ca22c2af5e5a9c6c7279d0578c2b1f9620d5df (diff) | |
download | specification-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/REDUCE_MIN.tosac')
-rw-r--r-- | pseudocode/operators/REDUCE_MIN.tosac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/REDUCE_MIN.tosac b/pseudocode/operators/REDUCE_MIN.tosac index 437ecfd..e299fce 100644 --- a/pseudocode/operators/REDUCE_MIN.tosac +++ b/pseudocode/operators/REDUCE_MIN.tosac @@ -13,7 +13,7 @@ left_shape = (axis > 1) ? shape[0:axis-1] : []; right_shape = (axis < rank(shape)-1) ? shape[axis+1:rank(shape)-1] : []; for_each(left_index in left_shape) { for_each(right_index in right_shape) { - in_out_t acc = maximum<in_out_t>(); + in_out_t acc = maximum_s<in_out_t>(); for (i = 0; i < shape1[axis]; i++) { index = flatten(left_index, [i], right_index); in_out_t value = tensor_read<in_out_t>(input, shape1, index); |