diff options
author | Kevin Petit <kevin.petit@arm.com> | 2024-02-08 10:29:43 +0000 |
---|---|---|
committer | Kevin Petit <kevin.petit@arm.com> | 2024-02-08 10:29:43 +0000 |
commit | 599de076047aae846fd28cc52a777e4b6e534aaf (patch) | |
tree | b8eab10e9cab319d9023b141480e2cd82486c0af /pseudocode/operators/NEGATE.tosac | |
parent | c65cd9ccff6000be01ee0742319009f0061879ce (diff) | |
download | specification-599de076047aae846fd28cc52a777e4b6e534aaf.tar.gz |
pseudocode: use function call syntax to call templated functions
Change-Id: I24409a38aaf4818a9ab0abc0cad5c7d052e01bd1
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Diffstat (limited to 'pseudocode/operators/NEGATE.tosac')
-rw-r--r-- | pseudocode/operators/NEGATE.tosac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pseudocode/operators/NEGATE.tosac b/pseudocode/operators/NEGATE.tosac index cae57f3..b0f12d1 100644 --- a/pseudocode/operators/NEGATE.tosac +++ b/pseudocode/operators/NEGATE.tosac @@ -16,7 +16,7 @@ for_each(index in shape) { value = apply_sub_s<acc_t>(0, value); value = apply_add_s<acc_t>(value, sign_extend<acc_t>(output_zp)); in_out_t result = truncate<in_out_t>(apply_clip_s<acc_t>(value, - minimum_s<in_out_t>, - maximum_s<in_out_t>)); + minimum_s<in_out_t>(), + maximum_s<in_out_t>())); tensor_write<in_out_t>(output, shape, index, result); } |