This API is used to calculate the cumulative maximum value in self and return the maximum value and the corresponding index.
Formula:
valuesOut:
indicesOut:
Each operator has calls. First, [object Object] is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, [object Object] is called to perform computation.
[object Object]
[object Object]
Parameters
[object Object]- For the [object Object]Atlas A3 training products/Atlas A3 inference products[object Object]: The self and valuesOut data types do not support 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.
The following example is for reference only. For details, see .
[object Object]