[object Object]

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

Performs backpropagation of the operator.

[object Object]

Each operator has calls. First, aclnnMaxPool2dWithMaskBackwardGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnMaxPool2dWithMaskBackward is called to perform computation.

[object Object]
[object Object]
[object Object]
  • 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]
[object Object]
  • Parameters:

    [object Object]
  • Returns:

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

[object Object]
  • Deterministic compute:

    • aclnnMaxPool2dWithMaskBackward defaults to a non-deterministic implementation. You can call aclrtCtxSetSysParamOpt to enable deterministic compute.
  • The input data does not support NaN and -Inf.

  • [object Object]Atlas training products[object Object]: When the input data is FLOAT, the data is converted to FLOAT16 for computation. As a result, the accuracy drops to some extent.

[object Object]

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

[object Object]