[object Object][object Object][object Object]undefined
[object Object]
  • Description:

    Performs matrix multiplication with 4:2 sparse quantization.

  • Formula:

    out=x@sparseWeightsparseWeightScalexScale+biasout = x@sparseWeight * sparseWeightScale * xScale + bias
[object Object]

Each operator has calls. First, [object Object] is called to obtain the input parameters and compute the required workspace size based on the process. Then, [object Object] 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 validation. The following error codes may be returned.

    [object Object]
[object Object]
  • Parameters

    [object Object]
  • Returns

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

[object Object]
  1. The value of k in the last dimension of x, that is, the shape description, cannot exceed 65535.
  2. Currently, only the scenario where both sparseWeightScale and xScale are not nullptr is supported.
[object Object]

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

  • [object Object]Atlas A2 training products/Atlas A2 inference products[object Object] and [object Object]Atlas A3 training products/Atlas A3 inference products[object Object]:

    [object Object]