Quantizes updates on the quantAxis axis, scales updates using quantScales, and offsets updates using quantZeroPoints. Then, the values in the quantized updates are updated one by one at the corresponding positions in selfRef based on the index tensor indices along the specified axis.
Each operator has calls. First, aclnnInplaceQuantScatterGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnInplaceQuantScatter is called to perform computation.
Parameter description:
[object Object]- [object Object]Atlas inference products[object Object]
- The data type BFLOAT16 is not supported.
- For [object Object]Atlas inference products[object Object], [object Object]Atlas A3 training products/Atlas A3 inference products[object Object], [object Object]Atlas A3 training products/Atlas A3 inference products[object Object]:
- The size of the last dimension of selfRef and updates must be 32-byte aligned.
- [object Object]Atlas inference products[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:
- aclnnInplaceQuantScatter defaults to a deterministic implementation.
The indices can only be 1-dimensional. Index out-of-bounds is not supported and is not verified. The selfRef data segments mapped to indices cannot overlap. If they overlap, the execution results will be different due to multi-core concurrency.
The input combinations of the data types of selfRef, indices, updates, quantScales, and quantZeroPoints are as follows:
[object Object]Atlas inference products[object Object]:
[object Object]undefined
[object Object]Atlas A2 training products/Atlas A2 inference products[object Object], [object Object]Atlas A3 training products/Atlas A3 inference products[object Object], and Ascend 950 PR/Ascend 950 DT:
[object Object]undefined
The following example is for reference only. For details, see .