forked from mindspore-Ecosystem/mindspore
add func imag docs
This commit is contained in:
parent
5b6ffcf7ce
commit
165894281d
|
@ -233,6 +233,7 @@ mindspore.ops
|
|||
mindspore.ops.hypot
|
||||
mindspore.ops.igamma
|
||||
mindspore.ops.igammac
|
||||
mindspore.ops.imag
|
||||
mindspore.ops.i0
|
||||
mindspore.ops.inv
|
||||
mindspore.ops.invert
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
mindspore.ops.imag
|
||||
===================
|
||||
|
||||
.. py:function:: mindspore.ops.imag(input)
|
||||
|
||||
返回包含输入Tensor的虚部。如果输入为实数,则返回零。
|
||||
|
||||
参数:
|
||||
- **input** (Tensor) - 要计算的输入Tensor。
|
||||
|
||||
返回:
|
||||
Tensor,shape与 `input` 相同。
|
||||
|
||||
异常:
|
||||
- **TypeError** - 如果 `input` 不是Tensor。
|
|
@ -233,6 +233,7 @@ Element-wise Operations
|
|||
mindspore.ops.hypot
|
||||
mindspore.ops.igamma
|
||||
mindspore.ops.igammac
|
||||
mindspore.ops.imag
|
||||
mindspore.ops.i0
|
||||
mindspore.ops.inv
|
||||
mindspore.ops.invert
|
||||
|
|
Loading…
Reference in New Issue