[object Object]

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

StridedSliceAssign is a tensor slice assignment operation. It can assign the content of the tensor inputValue to the specified position in the target tensor varRef.

[object Object]

Each operator has calls. First, [object Object] is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, [object Object] 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]
  • Parameter description:

    [object Object]
  • Returns:

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

[object Object]
  • Deterministic compute:
    • [object Object] defaults to a deterministic implementation. The formula for calculating the i-th dimension of [object Object] is as follows: inputValueShape[i]=end[i]begin[i]strides[i]inputValueShape[i] = \lceil\frac{end[i] - begin[i]}{strides[i]} \rceil, where x\lceil x\rceil indicates rounding up xx. endend and beginbegin are the values adjusted according to special values. The adjustment method is as follows: When end[i]<0end[i] < 0, end[i]=varShape[i]+end[i]end[i]=varShape[i] + end[i]. If end[i]<0end[i] < 0 still exists, end[i]=0end[i] = 0. When end[i]>varShape[i]end[i] > varShape[i], end[i]=varShape[i]end[i] = varShape[i]. beginbegin follows the same rules.
[object Object]

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

[object Object]