[object Object]

[object Object][object Object]undefined
[object Object]
  • Description: Performs dequantization on input x, converting INT32 data to FLOAT16 or BFLOAT16 for output.
  • Formula:y=A×weight_scale×activate_scaley = A \times \text{weight\_scale} \times \text{activate\_scale} y=(A+bias)×weight_scale×activate_scaley = (A + \text{bias}) \times \text{weight\_scale} \times \text{activate\_scale} y=A×weight_scale×activate_scale+biasy = A \times \text{weight\_scale} \times \text{activate\_scale} + \text{bias}
[object Object]

Each operator has calls. First, aclnnDequantBiasGetWorkspaceSize is called to obtain the input parameters and compute the required workspace size based on the process. Then, aclnnDequantBias 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 computation:

    • aclnnDequantBias defaults to a deterministic implementation.
  • The N and M dimensions in the input and output shapes must be positive integers, and the value of M must be less than or equal to 25,000.

[object Object]

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

[object Object]