- Description: Computes the element-wise minimum of each tensor in tensor list x with the given scalar scalar. Compared with , this API modifies the structure type of the input parameter scalar from aclTensor to aclScalar. Select the appropriate API based on actual requirements.
- 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]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:
- aclnnForeachMinimumScalarV2 defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]