Updates the values in varRef in sequence by referring to the values in the updates tensor based on the specified indices.
Each operator has calls. First, aclnnScatterNdUpdateGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnScatterNdUpdate is called to perform computation.
[object Object]
[object Object]
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 compute:
- aclnnScatterNdUpdate defaults to a deterministic implementation.
Input shape restrictions:
- indices must have at least two dimensions. The size of the last dimension must not exceed the dimension size of varRef.
- Assume that the size of the last dimension of indices is a. The shape of updates is equal to the shape of indices excluding the last dimension plus the last dimension (a) of the shape of varRef. For example, if the shape of varRef is (4, 5, 6) and the shape of indices is (3, 2), the shape of updates must be (3, 6).
The following example is for reference only. For details, see .
[object Object]