Fuses the and operators. Quantizes updates along the quantAxis axis: quantScales scales updates, and quantZeroPoints offsets updates. 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. Compared with aclnnInplaceQuantScatter, this function has an additional input roundMode.
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.
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:
- The default deterministic implementation of aclnnInplaceQuantScatterV2 is used.
indices can only be one- or two-dimensional. If it is two-dimensional, the size of the second dimension must be 2. Index out-of-bounds is not supported or verified. The selfRef data segments mapped by indices cannot overlap. If they overlap, the execution results may be different due to multi-core concurrency.
The input combinations of the data types of selfRef, indices, updates, quantScales, and quantZeroPoints are as follows:
Ascend 950PR/Ascend 950DT:
[object Object]undefined
The following example is for reference only. For details, see .