Calculates the arccosine (inverse of cosine) of the given input tensor, element-wise. Args: x (Tensor): Input tensor Returns: Tensor, the output
(x)
| 2086 | |
| 2087 | |
| 2088 | def acos(x): |
| 2089 | """ |
| 2090 | Calculates the arccosine (inverse of cosine) of the given input tensor, |
| 2091 | element-wise. |
| 2092 | Args: |
| 2093 | x (Tensor): Input tensor |
| 2094 | Returns: |
| 2095 | Tensor, the output |
| 2096 | """ |
| 2097 | return Acos()(x)[0] |
| 2098 | |
| 2099 | |
| 2100 | class Acosh(Operator): |