- This API is used to compute the inverse of the input square matrix.
- Formula: is the input tensor, is the inverse of , and is the unit matrix of dimension .
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]
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]
- Deterministic computation:
- aclnnInverse defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]