Each operator has calls. First, aclnnThreeInterpolateBackwardGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnThreeInterpolateBackward is called to perform computation.
[object Object]
[object Object]
Operator description: Performs three-point interpolation calculation based on grad_x, idx, and weight to obtain the gradient grad_y.
Formulas:
Parameters
[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]
- The values in idx must be less than m.
- Deterministic computation:
- aclnnThreeInterpolateBackward defaults to a non-deterministic implementation. Enabling deterministic computing is not supported.
The following example is for reference only. For details, see .
[object Object]