- Description: Performs backpropagation of , and computes the silu gradient input based on the silu backpropagation gradient and forward output.
- Formula:
is the sigmoid function, is the SiLU function, and is the derivative of the SiLU function.
Each operator has calls. First, aclnnSiluBackwardGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnSiluBackward is called to perform computation.
[object Object]
[object Object]
Parameters:
[object Object]- [object Object]Atlas training products[object Object]: The data type can be FLOAT16 or FLOAT.
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:
- aclnnSiluBackward defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]