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

14 lines
326 B
ReStructuredText

mindspore.ops.greater
=====================
.. py:function:: mindspore.ops.greater(input, other)
逐元素计算 :math:`input > other` 的值。
参数:
- **input** (Union[Tensor, Number]) - 第一个输入。
- **other** (Union[Tensor, Number]) - 第二个输入。
返回:
Tensor