Description:
This operator is a mathematical operation of converting probability to log-odds. It is often used for inverse transformation of probability values. It can convert a probability value between 0 and 1 into a real number.
Formula:
Where:
Each operator has calls. First, aclnnLogitGetWorkspaceSize is called to obtain the input parameters and compute the workspace size required by the process. Then, aclnnLogit is called to perform computation.
Parameters:
[object Object]Returns:
[object Object]: status code. For details, see .The first-phase API implements input parameter verification. The following errors may be thrown:
[object Object]
Deterministic compute:
- aclnnLogit defaults to a deterministic implementation.
If the value of input is not in the range [0, 1], NaN is output. If the value is 0, -Inf is output. If the value is 1, Inf is output.
If eps is greater than 1, NaN is output. If eps is 1, Inf is output.
The following example is for reference only. For details, see .