Interface function: Returns the minimum value and its index position in the specified dimension of
[object Object]. The minimum value is saved to[object Object], and its index is saved to[object Object]. If[object Object]is set to[object Object], the corresponding axis is not retained. If[object Object]is set to[object Object], the dimension value[object Object]of the specified axis is retained.Calculation formula:
Minimum value calculation:
Index calculation: $$ \text{indices}i = \arg\min{\text{dim}}(\text{self})$$
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.
Parameter description:
[object Object][object Object]Atlas inference products[object Object] and [object Object]Atlas training products[object Object]:
- The data types of self and out do not support BFLOAT16 and INT32.
[object Object]Atlas A2 training products/Atlas A2 inference products[object Object] and [object Object]Atlas A3 training products/Atlas A3 inference products[object Object]:
- The data types of self and out do not support INT32.
Returns:
[object Object]: status code. For details, see .The first-phase API performs input parameter validation. The following errors may be returned:
[object Object]
- Deterministic computation:
[object Object]defaults to a deterministic implementation.
The following example is for reference only. For details, see .