[object Object]

Note: This API will be deprecated in later versions. Use the latest aclnnWeightQuantBatchMatmulV3 API instead.

[object Object][object Object]undefined
[object Object]
  • Function: Fake-quantization is used to quantize mat2 in self * mat2 (matmul/batchmatmul).
  • Formula:result=self@mat2+biasresult = self@mat2+bias
[object Object]
  • Each operator has calls. First, aclnnWeightQuantBatchMatmulGetWorkspaceSize is called to obtain the input parameters and compute the required workspace size based on the process. Then, aclnnWeightQuantBatchMatmul is called to perform computation.
[object Object]
[object Object]
[object Object]
  • Parameters

    [object Object]
  • Returns:

    [object Object]: status code. For details, see .

    The first-phase API implements input parameter verification. The following errors may be thrown:

    [object Object]
[object Object]
  • Parameters

    [object Object]
  • Returns:

    [object Object]: status code. For details, see .

[object Object]
  • Deterministic description:
    • [object Object]Atlas A3 training products/Atlas A3 inference products[object Object] and [object Object]Atlas A2 training products/Atlas A2 inference products[object Object]: The aclnnWeightQuantBatchMatmul function is implemented in a deterministic manner by default.
[object Object]

The following example is for reference only. For details, see .

[object Object]