Function: performs the quantized group matrix computation, and then sums up the matrix computation results of all groups and outputs the result.
Formula:
Each operator has calls. First, aclnnQuantMatmulReduceSumWeightNzGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnQuantMatmulReduceSumWeightNz is called to perform computation.
[object Object]
[object Object]
Parameters
[object Object]Return Value
[object Object]: status code. For details, see .The first-phase API implements input parameter verification. The following errors may be thrown:
[object Object]
- Deterministic description:
- The aclnnQuantMatmulReduceSumWeightNz API is implemented in non-deterministic mode by default. You can enable deterministic mode by using aclrtCtxSetSysParamOpt.
The following example is for reference only. For details, see .
[object Object]