modify format

This commit is contained in:
huodagu 2023-01-11 17:26:07 +08:00
parent e49946f555
commit ee3d895870
2 changed files with 2 additions and 1 deletions

View File

@ -18,3 +18,4 @@ mindspore.ops.diagflat
异常:
- **TypeError** - `x` 不是Tensor。
- **TypeError** - `offset` 不是整数。

View File

@ -4292,7 +4292,7 @@ def orgqr(x, tau):
Examples:
>>> x = Tensor(np.array([[-114.6, 10.9, 1.1], [-0.304, 38.07, 69.38], [-0.45, -0.17, 62.]]), mindspore.float32)
>>> tau = Tensor(np.array([1.55, 1.94, 0.0]), mindspore.float32)
>>> net = ops.Orgqr()
>>> net = ops.orgqr()
>>> y = net(x, tau)
>>> print(y)
[[-0.54999995 -0.2128925 0.8137956 ]