- Description: Performs element-wise linear interpolation on corresponding tensors in two tensor lists using the scalar weight as the interpolation coefficient.
- Formula:
Each operator has calls. First, aclnnForeachLerpScalarGetWorkspaceSize is called to obtain the input parameters and compute the required workspace size based on the process. Then, aclnnForeachLerpScalar 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]:
[object Object]and[object Object]must have the same shape.- The shape size of
[object Object]must be greater than or equal to that of[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]:
Returns
aclnnStatus: status code. For details, see .
The first-phase API implements input parameter verification. The following errors may be thrown.
[object Object]
- Deterministic computation:
- aclnnForeachLerpScalar defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]