mindspore/docs/api/api_python/ops/mindspore.ops.Imag.rst

16 lines
359 B
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.ops.Imag
===================
.. py:class:: mindspore.ops.Imag
返回包含输入Tensor的虚部。如果输入为实数则返回零。
输入:
- **input** (Tensor) - 要计算的输入Tensor。
输出:
Tensorshape与 `input` 相同。
异常:
- **TypeError** - 如果 `input` 不是Tensor。