This API is used to calculate the cumulative minimum value in self and return the value and its corresponding index.
Formula: valuesOut:
indicesOut:
Each operator consists of two functions (see../common/Two-Stage APIs.md). You must call aclnnCumminGetWorkspaceSize to obtain the workspace size required for computation and the executor that contains the operator execution process, and then call aclnnCummin to perform the computation.
Parameters
[object Object]- [object Object]Atlas inference products[object Object], [object Object]Atlas 200I/500 A2 inference products[object Object], and [object Object]Atlas training products[object Object]: The data type cannot be BFLOAT16.
Returns
[object Object]: status code. For details, see .The first-phase API implements input parameter validation. The following error codes may be returned:
[object Object]
Deterministic computation:
[object Object]defaults to a deterministic implementation.
If the data type of the input
[object Object]is INT32, precision is guaranteed only when values are within the range of [-16777215, 16777215] due to instruction feature constraints.
The following example is for reference only. For details, see .