代码拉取完成,页面将自动刷新
.. py:function:: mindspore.ops.greater(input, other) 按元素比较输入参数 :math:`input > other` 的值,输出结果为bool值。 更多参考详见 :func:`mindspore.ops.gt()`。 参数: - **input** (Union[Tensor, Number]) - 第一个输入,是一个Number或数据类型为 `number <https://www.mindspore.cn/docs/zh-CN/master/api_python/mindspore/mindspore.dtype.html#mindspore.dtype>`_ 或 `bool_ <https://www.mindspore.cn/docs/zh-CN/master/api_python/mindspore/mindspore.dtype.html#mindspore.dtype>`_ 的Tensor。 - **other** (Union[Tensor, Number]) - 第二个输入,是一个Number或数据类型为 `number <https://www.mindspore.cn/docs/zh-CN/master/api_python/mindspore/mindspore.dtype.html#mindspore.dtype>`_ 或 `bool_ <https://www.mindspore.cn/docs/zh-CN/master/api_python/mindspore/mindspore.dtype.html#mindspore.dtype>`_ 的Tensor。 返回: Tensor,shape与广播后的shape相同,数据类型为bool。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。