This API will be deprecated in later versions. Use and instead.
- Description: Quantizes mat2 in self * mat2 (matmul/batchmatmul), which is a process of fake-quantization.
- Formula:
Each operator has calls. First, aclnnWeightQuantBatchMatmulGetWorkspaceSize is called to obtain the input parameters and to compute the workspace size required for computation. Then, aclnnWeightQuantBatchMatmul is called to perform computation.
[object Object]
[object Object]
Parameters
[object Object]Returns:
aclnnStatus: status code. For details, see .
The first-phase API implements input parameter verification. The following errors may be thrown:
[object Object]
- Deterministic description:
- [object Object]Atlas training series products[object Object] and [object Object]Atlas inference series products[object Object]: aclnnWeightQuantBatchMatmul defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]