# tensorflow::ops::GreaterEqual Class Reference

# tensorflow::
ops::
GreaterEqual

`
#include <math_ops.h>
`


Returns the truth value of (x \>= y) element-wise.

## Summary


* NOTE *
:
`
https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/greater-equal#classtensorflow_1_1ops_1_1_greater_equal
`
supports broadcasting. More about broadcasting
[here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)


Example:


```
x = tf.constant([5, 4, 6, 7])
y = tf.constant([5, 2, 5, 10])
tf.math.greater_equal(x, y) ==> [True, True, True, False]
```

<br />


```
x = tf.constant([5, 4, 6, 7])
y = tf.constant([5])
tf.math.greater_equal(x, y) ==> [True, False, True, True]
```

<br />


Args:

- scope: A [Scope](https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object

<br />


Returns:

- `
  https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output
  ` : The z tensor.

<br />

| ### Constructors and Destructors ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/greater-equal#classtensorflow_1_1ops_1_1_greater_equal_1a422da01235997e35361cdeadacfcb858 (const :: https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, :: https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input x, :: https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input y) ` ||

| ### Public attributes ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/greater-equal#classtensorflow_1_1ops_1_1_greater_equal_1ad9d8524d31876937cdc925404beb421a ` | ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation ` |
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/greater-equal#classtensorflow_1_1ops_1_1_greater_equal_1a98fa5c18f2339bf35bcf89b4a579abb8 ` | ` :: https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output ` |

| ### Public functions ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/greater-equal#classtensorflow_1_1ops_1_1_greater_equal_1ac3af218d4a06bf958ad92483f2a4d552 () const ` | ` ::tensorflow::Node * ` |
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/greater-equal#classtensorflow_1_1ops_1_1_greater_equal_1a3831b838de787044ec4c0c4dd06a5ef9 () const ` | ` ` |
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/greater-equal#classtensorflow_1_1ops_1_1_greater_equal_1ac818bdc95a7eed0f193f3a1d050bc4ab () const ` | ` ` |

## Public attributes

### operation

```
Operation operation
```

### z

```
::tensorflow::Output z
```

## Public functions

### GreaterEqual

```
 GreaterEqual(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y
)
```

### node

```
::tensorflow::Node * node() const 
```

### operator::tensorflow::Input

```
 operator::tensorflow::Input() const 
```

### operator::tensorflow::Output

```
 operator::tensorflow::Output() const 
```