forked from mindspore-Ecosystem/mindspore
modify format
This commit is contained in:
parent
e49946f555
commit
ee3d895870
|
@ -18,3 +18,4 @@ mindspore.ops.diagflat
|
|||
|
||||
异常:
|
||||
- **TypeError** - `x` 不是Tensor。
|
||||
- **TypeError** - `offset` 不是整数。
|
||||
|
|
|
@ -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 ]
|
||||
|
|
Loading…
Reference in New Issue