[object Object]

This API will be deprecated in later versions. Use and instead.

[object Object][object Object]undefined
[object Object]
  • Description: Quantizes mat2 in self * mat2 (matmul/batchmatmul), which is a process of fake-quantization.
  • Formula:result=self@mat2+biasresult = self@mat2+bias
[object Object]

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]
[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]
[object Object]
  • Parameters

    [object Object]
  • Returns:

    aclnnStatus: status code. For details, see .

[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.
[object Object]

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

[object Object]