add func imag docs

This commit is contained in:
liutongtong 2023-02-14 11:27:49 +08:00
parent 5b6ffcf7ce
commit 165894281d
3 changed files with 17 additions and 0 deletions

View File

@ -233,6 +233,7 @@ mindspore.ops
mindspore.ops.hypot mindspore.ops.hypot
mindspore.ops.igamma mindspore.ops.igamma
mindspore.ops.igammac mindspore.ops.igammac
mindspore.ops.imag
mindspore.ops.i0 mindspore.ops.i0
mindspore.ops.inv mindspore.ops.inv
mindspore.ops.invert mindspore.ops.invert

View File

@ -0,0 +1,15 @@
mindspore.ops.imag
===================
.. py:function:: mindspore.ops.imag(input)
返回包含输入Tensor的虚部。如果输入为实数则返回零。
参数:
- **input** (Tensor) - 要计算的输入Tensor。
返回:
Tensorshape与 `input` 相同。
异常:
- **TypeError** - 如果 `input` 不是Tensor。

View File

@ -233,6 +233,7 @@ Element-wise Operations
mindspore.ops.hypot mindspore.ops.hypot
mindspore.ops.igamma mindspore.ops.igamma
mindspore.ops.igammac mindspore.ops.igammac
mindspore.ops.imag
mindspore.ops.i0 mindspore.ops.i0
mindspore.ops.inv mindspore.ops.inv
mindspore.ops.invert mindspore.ops.invert