- Function: Performs the addition calculation.
- Formula:
Each operator has calls. First, [object Object] is called to obtain the input parameters and compute the required workspace size based on the process. Then, [object Object] is called to perform computation.
[object Object]
[object Object]
Parameters:
[object Object]- [object Object]Atlas inference products[object Object] and [object Object]Atlas training products[object Object]:
- [object Object]Atlas A2 training products/Atlas A2 inference products[object Object] and [object Object]Atlas A3 training products/Atlas A3 inference products[object Object]: The data types of
[object Object]and[object Object]meet the . - Ascend 950PR/Ascend 950DT: The data type of
[object Object]and that of[object Object]meet the .
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 computation:
[object Object]defaults to a deterministic implementation.
For the float type, the parameter
[object Object]does not cause precision loss. For int32 and int64 types, precision loss may occur when[object Object]exceeds 2^24. In such cases, it is advised to use. .
The following example is for reference only. For details, see .
[object Object]