[object Object]

This API will be deprecated in later versions. Do not use this API.

[object Object][object Object]undefined
[object Object]
  • Description: Performs matrix multiplication with the input tensor whose dtype is float16 and the output tensor whose dtype is int8.

  • Formula:

    out=Quant(x1@x2+bias)out = Quant(x1@x2 + bias)
[object Object]

Each operator has calls. First, aclnnBatchMatmulQuantGetWorkspaceSize is called to obtain the input parameters and compute the required workspace size based on the process. Then, aclnnBatchMatmulQuant 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]
  • Determinism:
    • [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 aclnnBatchMatmulQuant function is implemented in a deterministic manner by default.
[object Object]

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

[object Object]