For each dimension in the given dimension [object Object]dim[object Object], if any element in the dimension of the input tensor evaluate to [object Object], [object Object] is returned. Otherwise, [object Object] is returned. If [object Object] is [object Object], the output Tensor maintains the same number of dimensions as the input. Otherwise, the dimensions specified by [object Object] are reduced, and the output tensor has [object Object] fewer dimensions than the input.
Given an input tensor with shape and [object Object] set to [0, 2]. If [object Object] is [object Object], the output tensor shape will be , reducing the input by two dimensions.
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.
Parameters:
[object Object]- [object Object]Atlas inference products[object Object], [object Object]Atlas training products[object Object], and [object Object]Atlas 200I/500 A2 inference products[object Object]: The data type cannot be BFLOAT16.
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:
[object Object]defaults to a deterministic implementation.
The following example is for reference only. For details, see .