[object Object][object Object][object Object]undefined
[object Object]

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]
[object Object]
  • Operator description: Performs three-point interpolation calculation based on grad_x, idx, and weight to obtain the gradient grad_y.

  • Formulas:

    grad_y[b,c,idx[b,n,i]]=grad_y[b,c,idx[b,n,i]]+grad_x[b,c,n]weight[b,n,i]i[0,2] b[0,B) c[0,C) n[0,N)grad\_y[b,c,idx[b,n,i]] = grad\_y[b,c,idx[b,n,i]] + grad\_x[b,c,n]*weight[b,n,i]\\ i\in[0,2]\ b\in[0,B) \ c\in[0,C) \ n\in[0,N)
[object Object]
  • 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]
[object Object]
  • Parameters

    [object Object]
  • Returns:

    [object Object]: status code. For details, see .

[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.
[object Object]

The following example is for reference only. For details, see .

[object Object]