MCPcopy Create free account
hub / github.com/apache/singa / acos

Function acos

python/singa/autograd.py:2088–2097  ·  view source on GitHub ↗

Calculates the arccosine (inverse of cosine) of the given input tensor, element-wise. Args: x (Tensor): Input tensor Returns: Tensor, the output

(x)

Source from the content-addressed store, hash-verified

2086
2087
2088def 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
2100class Acosh(Operator):

Callers

nothing calls this directly

Calls 1

AcosClass · 0.85

Tested by

no test coverage detected