mindspore.ops.is_complex ========================= .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/br_base/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/br_base/docs/api/api_python/ops/mindspore.ops.func_is_complex.rst :alt: 查看源文件 .. py:function:: mindspore.ops.is_complex(input) 返回一个布尔型tensor,指示哪些元素是复数。 参数: - **input** (Tensor) - 输入tensor。 返回: Bool