mindspore.Tensor.is_signed =========================== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/master/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/master/docs/api/api_python/mindspore/Tensor/mindspore.Tensor.is_signed.rst :alt: 查看源文件 .. py:method:: mindspore.Tensor.is_signed() 判断输入Tensor的dtype是否是有符号数类型。 返回: Bool,如果 `x` 的dtype是有符号数类型,则返回True,否则返回False。