Skip to content

Commit b66bdfc

Browse files
committed
use COPY-FROM
1 parent 9ae90c5 commit b66bdfc

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

docs/api/paddle/inverse_cn.rst

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,4 @@ Tensor,``x`` 的逆矩阵,维度和数据类型与 ``x`` 相同。
2323
代码示例
2424
::::::::::::
2525

26-
.. code-block:: pycon
27-
28-
>>> import paddle
29-
30-
>>> mat = paddle.to_tensor([[2, 0], [0, 2]], dtype='float32')
31-
>>> inv = paddle.inverse(mat)
32-
>>> print(inv)
33-
Tensor(shape=[2, 2], dtype=float32, place=Place(cpu), stop_gradient=True,
34-
[[0.50000000, 0. ],
35-
[0. , 0.50000000]])
26+
COPY-FROM: paddle.inverse

0 commit comments

Comments
 (0)