mindspore.ops.greater ===================== .. 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/ops/mindspore.ops.func_greater.rst :alt: 查看源文件 .. py:function:: mindspore.ops.greater(input, other) 逐元素计算 :math:`input > other` 的值。 参数: - **input** (Union[Tensor, Number]) - 第一个输入。 - **other** (Union[Tensor, Number]) - 第二个输入。 返回: Tensor