- Description: Extends the permutation indices of sparse data from the table dimension to the batch dimension, applicable to scenarios where sparse features have different batch sizes across ranks.
- Formula:
Each operator has calls. First, aclnnExpandIntoJaggedPermuteGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation flow. Then, aclnnExpandIntoJaggedPermute is called to perform computation.
Parameters
[object Object]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]
- Deterministic computation:
- aclnnExpandIntoJaggedPermute defaults to a deterministic implementation.
The shapes of inputOffset and outputOffset must be the same.
The data types of permute, inputOffset, outputOffset, and outputPermuteOut must be the same.
The values of outputOffset are strictly monotonically increasing, and the last value equals outputSize.
The following example is for reference only. For details, see .