Description: Performs element-wise subtraction between each tensor in the input tensor list and each scalar in the scalar list scalars.
Formula:
Each operator has calls. First, aclnnForeachSubScalarListGetWorkspaceSize is called to obtain the input parameters and compute the required workspace size based on the process. Then, aclnnForeachSubScalarList is called to perform computation.
[object Object]
[object Object]
- Deterministic computation:
- aclnnForeachSubScalarList defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]