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

13 lines
274 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.real
===================
.. py:function:: mindspore.ops.real(input)
返回输入tensor的实数部分。如果输入是实数则返回值与输入值相同。
参数:
- **input** (Tensor) - 输入tensor。
返回:
Tensor