Each operator has calls. First, aclnnThresholdBackwardGetWorkspaceSize is called to obtain the input parameters and compute the required workspace size based on the process. Then, aclnnThresholdBackward is called to perform computation.
[object Object]
[object Object]
Parameters:
[object Object]- [object Object]Atlas A2 training products/Atlas A2 inference products[object Object] and [object Object]Atlas A3 training series products/Atlas A3 inference series products[object Object]: The data type can be FLOAT, BFLOAT16, FLOAT16, INT32, INT8, or UINT8.
- [object Object]Atlas inference series products[object Object] and [object Object]Atlas training series products[object Object]: The data type can be FLOAT, FLOAT16, INT32, INT8, or UINT8.
Returns:
aclnnStatus: status code. For details, see .
The first-phase API implements input parameter verification. The following errors may be thrown:
[object Object]
- Deterministic compute:
- aclnnThresholdBackward defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]