A fused operator of [object Object] and [object Object]. It performs a "combine" operation on the output of the [object Object] computation based on specified indices.
Compared with , this API introduces the input parameter [object Object] and supports asymmetric quantization scenarios. Select the appropriate API based on your requirements. The input parameters [object Object] and [object Object] are added (but not used currently).
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]Return
[object Object]status code. For details, see .The first-phase API implements input parameter validation. The following errors may be thrown:
[object Object]
Deterministic computation:
[object Object]defaults to non-deterministic implementation. You can call[object Object]to enable deterministic computation.
Supported input and output data types in the fake-quantization scenario:
[object Object]undefined
- In this scenario,
[object Object]represents the result of per-channel and per-group offline fusion. - In this scenario,
[object Object]represents the auxiliary result of offline computation. Its value must be and is accumulated in the first dimension. - This scenario supports symmetric quantization and asymmetric quantization. During symmetric quantization,
[object Object]must be null. During asymmetric quantization,[object Object]represents the auxiliary result of offline computation, which is the result of . - In this scenario,
[object Object]and[object Object]must be null.
- In this scenario,
The following example is for reference only. For details, see .