[object Object]

[object Object][object Object]undefined
[object Object]
  • This API is used to compute the inverse of the input square matrix.
  • Formula:A1A=AA1=In{A}^{-1}A = A{A}^{-1} = {I}_{n} AA is the input tensor, A1A^{-1} is the inverse of AA, and InI_n is the unit matrix of dimension nn.
[object Object]

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

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

    [object Object]
    • For the [object Object]Atlas training products[object Object], the data type FLOAT16 is not supported.
    • For the [object Object]Atlas A2 training products/Atlas A2 inference products[object Object], the data type DOUBLE is not supported.
  • 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:
    • aclnnInverse defaults to a deterministic implementation.
[object Object]

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

[object Object]