[object Object][object Object][object Object]undefined
[object Object]

Description: Eliminates all but the first element from every consecutive group of equivalent elements. When dim is not empty, tensors except the first tensor from every consecutive group of equivalent elements are eliminated along the corresponding dimension.

[object Object]

Each operator has calls. First, aclnnUniqueConsecutiveGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnUniqueConsecutive is called to perform computation.

[object Object]
[object Object]
[object Object]
  • Parameters

    [object Object]
  • Returns [object Object]: status code. For details, see . The first-phase API implements input parameter verification. The following errors may be thrown:

    [object Object]
[object Object]
  • Parameters

    [object Object]
  • Returns

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

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

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

[object Object]