Computes logits of the input self, and performs backpropagation of the with respect to the target label value target.
Each operator has calls. First, aclnnBinaryCrossEntropyWithLogitsTargetBackwardGetWorkspaceSize is called to obtain the input parameters and compute the required workspace size based on the process. Then, aclnnBinaryCrossEntropyWithLogitsTargetBackward is called to perform computation.
[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]
- Deterministic compute:
- aclnnBinaryCrossEntropyWithLogitsTargetBackward defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]