[object Object]

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

Performs backpropagation of the binary logic loss function. reduction specifies the compute method of the loss function. It can be set to none, mean, or sum. none indicates that no reduction will be applied; mean indicates that the sum of the output will be divided by the number of elements in the output; sum indicates that the output will be summed.

[object Object]

Each operator has calls. First, aclnnSoftMarginLossBackwardGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnSoftMarginLossBackward 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:
    • aclnnSoftMarginLossBackward defaults to a deterministic implementation.
[object Object]

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

[object Object]