diff options
author | Jerry Ge <jerry.ge@arm.com> | 2024-02-20 11:21:19 -0800 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2024-03-05 18:47:09 +0000 |
commit | 51bd4f5166c50a89017307b55dee0f5bda096b7b (patch) | |
tree | 84aa5e9bd1dc02856ae10a18f0a923e3c8efbf55 /reference_model/src/ops/ewise_unary.h | |
parent | 1408795800719139e26bafcece88bfc07582576d (diff) | |
download | reference_model-51bd4f5166c50a89017307b55dee0f5bda096b7b.tar.gz |
Add Tosa Sin/Cos operators
- Add Tosa Sin/Cos operators to reference_model
- Add conformances tests
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Change-Id: I3f597ddf5dac2c64d6dd6aa15781b40b8468eaa6
Diffstat (limited to 'reference_model/src/ops/ewise_unary.h')
-rw-r--r-- | reference_model/src/ops/ewise_unary.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/reference_model/src/ops/ewise_unary.h b/reference_model/src/ops/ewise_unary.h index 21ee276..a447388 100644 --- a/reference_model/src/ops/ewise_unary.h +++ b/reference_model/src/ops/ewise_unary.h @@ -1,5 +1,5 @@ -// Copyright (c) 2020-2023, ARM Limited. +// Copyright (c) 2020-2024, ARM Limited. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -65,12 +65,14 @@ DEF_TEMPLATE_UNARY_OP(Abs, ABS) DEF_TEMPLATE_UNARY_OP(BitwiseNot, BITWISE_NOT) DEF_TEMPLATE_UNARY_OP(Ceil, CEIL) DEF_TEMPLATE_UNARY_OP(Clz, CLZ) +DEF_TEMPLATE_UNARY_OP(Cos, COS) DEF_TEMPLATE_UNARY_OP(Exp, EXP) DEF_TEMPLATE_UNARY_OP(Floor, FLOOR) DEF_TEMPLATE_UNARY_OP(Log, LOG) DEF_TEMPLATE_UNARY_OP(LogicalNot, LOGICAL_NOT) DEF_TEMPLATE_UNARY_OP(Reciprocal, RECIPROCAL) DEF_TEMPLATE_UNARY_OP(Rsqrt, RSQRT) +DEF_TEMPLATE_UNARY_OP(Sin, SIN) #undef DEF_TEMPLATE_UNARY_OP |