[object Object]

📄

[object Object][object Object]undefined
[object Object]
  • Function: Repeats each element in the tensor for the number of times specified by the repeats parameter along the specified dimension.

  • Example: Assume that the input tensor is ([[a, b], [c, d], [e, f]]). repeats is 2, and dim is 0. In this case, the generated tensor is [ [a, b], [a, b], [c, d], [c, d], [e, f], [e, f]]. In the dimension with dim = 0, a and b are repeated twice, c and d are repeated twice, and e and f are repeated twice. The following condition must be met during computation: outputSize = Size of the dim dimension of self × Value of repeats.

[object Object]

Each operator has calls. First, aclnnRepeatInterleaveIntWithDimGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnRepeatInterleaveIntWithDim 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:
    • aclnnRepeatInterleaveIntWithDim defaults to a deterministic implementation.
  • Other restrictions: During computation, the following requirement must be met: outputSize = size of the dimension of self x value of repeats.
[object Object]

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

[object Object]