- Description: Removes duplicates from the input tensor
[object Object]along a given dim. - Example: Assume that
[object Object]is and[object Object]is 0, then[object Object]is:[object Object]is:[object Object]is:
Each operator has calls. First, aclnnUniqueDimGetWorkspaceSize is called to obtain the input parameters and to compute the workspace size required for computation. Then, aclnnUniqueDim is called to perform computation.
[object Object]
[object Object]
- Deterministic compute:
- aclnnUniqueDim defaults to a deterministic implementation.
- Performance:
- On A2, A3, and training products, when the dimension value of self on dim exceeds 200 million, the performance is poor or even the running times out.
The following example is for reference only. For details, see .
[object Object]