[object Object]

[object Object][object Object]undefined
[object Object]
  • This API is used to calculate the logarithm of the sum of powers (base e) of the input tensors.

  • Formula:

    out=log(ex+ey)=log[em(1+exy)]=m+log(1+exy),wherem=max(x,y)out = \log(e^x+e^y) = \log[e^m(1+e^{-|x-y|})] = m+\log(1+e^{-|x-y|}) \quad, where m = \max(x, y)

    xx indicates self, and yy indicates other.

[object Object]

Each operator has calls. First, aclnnLogAddExpGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnLogAddExp is called to perform computation.

[object Object]
[object Object]
[object Object]
  • Parameters:

    [object Object]
    • [object Object]Atlas inference products[object Object] and [object Object]Atlas training products[object Object]: The data type cannot be BFLOAT16.
  • 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:
    • [object Object] defaults to deterministic implementation.
[object Object]

The following examples are for reference only. For details, see .

[object Object]