- API function: Implements the backward propagation of aclnnCdist.
- Formulas:
- : difference between variables.
- : p-norm distance
Each operator is divided into two functions (see../common/two-phase-api.md). You must call aclnnCdistBackwardGetWorkspaceSize to obtain the input parameters, calculate the required workspace size based on the workflow, and then call aclnnCdistBackward to perform the computation.
[object Object]
[object Object]
Parameter description:
[object Object]Returns
[object Object]: status code. For details, see .The first-phase API implements input parameter validation. The following error codes may be returned.
[object Object]
Deterministic computing is supported by default.
The following example is for reference only. For details, see .
[object Object]