mindspore/docs/api/api_python/mint/mindspore.mint.func_inverse...

18 lines
596 B
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.mint.inverse
======================
.. py:function:: mindspore.mint.inverse(input)
计算输入矩阵的逆。
参数:
- **input** (Tensor) - 计算的矩阵。`input` 至少是二维的,至多是六维的,最后两个维度大小相同,并且矩阵需要可逆。
返回:
Tensor其类型和shape与 `input` 相同。
异常:
- **ValueError** - `input` 最后两个维度的大小不相同。
- **ValueError** - `input` 不是空并且它的维度小于二维。
- **ValueError** - `input` 的维度大于6。