[object Object][object Object][object Object]undefined
[object Object]
  • API function: Calculates the transparency multiplication of tensors RGB, frame, and alpha.

  • Formulas:

outi3=rgbi3(alphai/255)+framei3(1alphai/255)out_{i*3}=rgb_{i*3} * (alpha_i / 255) + frame_{i*3}*(1 - alpha_i/255) [object Object]

Each operator has calls. First, aclnnBlendImagesCustomGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnBlendImagesCustom 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]
  • Deterministic computation:
    • aclnnBlendImagesCustom defaults to a deterministic implementation.
[object Object]

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

[object Object]