Description: Updates the input tensor list in place, and sets each tensor to 0.
Formula:
Each operator has calls. First, aclnnForeachZeroInplaceGetWorkspaceSize is called to obtain the input parameters and compute the required workspace size based on the process. Then, aclnnForeachZeroInplace is called to perform computation.
[object Object]
[object Object]
Parameters:
[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:
- aclnnForeachZeroInplace defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]