[object Object]

[object Object][object Object]undefined
[object Object]
  • This API is used to calculate the cumulative maximum value in self and return the maximum value and the corresponding index.

  • Formula:

    valuesOut:

    valuesOuti=max(self1,self2,self3,......,selfi)valuesOut{i} = max(self_{1}, self_{2}, self_{3}, ......, self_{i})

    indicesOut:

    indicesOuti=argmax(self1,self2,self3,......,selfi)indicesOut{i} = argmax(self_{1}, self_{2}, self_{3}, ......, self_{i})
[object Object]

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]
[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]
[object Object]
  • Parameters

    [object Object]
  • Returns

    [object Object]: status code. For details, see .

[object Object]
  • Deterministic computation:
    • [object Object] defaults to a deterministic implementation.
[object Object]

The following example is for reference only. For details, see .

[object Object]