Greater - version 7#

This page documents version 7 of operator Greater. See Greater for the latest version (since version 13).

  • Domain: ai.onnx

  • Since version: 7

Returns the tensor resulted from performing the Greater logical operation elementwise on the input tensors A and B (with Numpy-style broadcasting support).

Inputs

  • A (T): First input operand for the logical operator.

  • B (T): Second input operand for the logical operator.

Outputs

  • C (T1): Result tensor.

Type Constraints

  • T: Constrain input to float tensors. Allowed types: tensor(double), tensor(float), tensor(float16).

  • T1: Constrain output to boolean tensor. Allowed types: tensor(bool).

Differences with previous version (1)#

SchemaDiff: Greater (domain 'ai.onnx')

  • old version: 1

  • new version: 7

  • breaking: no

Documentation:

  • line similarity: 0.40 (+1/-5 lines)

--- Greater v1
+++ Greater v7
@@ -1,7 +1,3 @@

 Returns the tensor resulted from performing the `Greater` logical operation
-elementwise on the input tensors `A` and `B`.
-
-If broadcasting is enabled, the right-hand-side argument will be broadcasted
-to match the shape of left-hand-side argument. See the doc of `Add` for a
-detailed description of the broadcasting rules.
+elementwise on the input tensors `A` and `B` (with Numpy-style broadcasting support).