Description: Performs element-wise addition on the two tensor lists. The addition coefficient can be adjusted by the alpha parameter.
Formula:
Each operator has calls. First, aclnnForeachAddListGetWorkspaceSize is called to obtain the input parameters and compute the required workspace size based on the process. Then, aclnnForeachAddList is called to perform computation.
[object Object]
[object Object]
Parameters
[object Object]Return Value
[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:
- aclnnForeachAddList defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]