-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathunary_ops_api.h
More file actions
39 lines (35 loc) · 1.23 KB
/
unary_ops_api.h
File metadata and controls
39 lines (35 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef __INFINIOP_UNARY_OPS_API_H__
#define __INFINIOP_UNARY_OPS_API_H__
#include "unary_op_api.h"
/**
* @brief Unified API declarations for all unary operators.
*
* This header contains API declarations for all unary operators in a single file,
* eliminating the need for individual header files for each operator.
*
* All unary operator APIs are declared here:
* - abs, log, sqrt, reciprocal, neg, round, sinh, sign, tan
* - acosh, asinh, cos, atanh, asin, floor, cosh, erf, atan, acos, ceil
*/
// Declare all unary operator APIs
UNARY_OP_API_DECLARE(abs, Abs)
UNARY_OP_API_DECLARE(log, Log)
UNARY_OP_API_DECLARE(sqrt, Sqrt)
UNARY_OP_API_DECLARE(reciprocal, Reciprocal)
UNARY_OP_API_DECLARE(neg, Neg)
UNARY_OP_API_DECLARE(round, Round)
UNARY_OP_API_DECLARE(sinh, Sinh)
UNARY_OP_API_DECLARE(sign, Sign)
UNARY_OP_API_DECLARE(tan, Tan)
UNARY_OP_API_DECLARE(acosh, Acosh)
UNARY_OP_API_DECLARE(asinh, Asinh)
UNARY_OP_API_DECLARE(cos, Cos)
UNARY_OP_API_DECLARE(atanh, Atanh)
UNARY_OP_API_DECLARE(asin, Asin)
UNARY_OP_API_DECLARE(floor, Floor)
UNARY_OP_API_DECLARE(cosh, Cosh)
UNARY_OP_API_DECLARE(erf, Erf)
UNARY_OP_API_DECLARE(atan, Atan)
UNARY_OP_API_DECLARE(acos, Acos)
UNARY_OP_API_DECLARE(ceil, Ceil)
#endif // __INFINIOP_UNARY_OPS_API_H__