---
title: GreaterOrEqual
description: "按元素比较输入Tensor A和Tensor B的大小，若A ≥ B，对应位置返回true。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/aolapi/atlasoxol_09_0070.html
sourcePath: /source/zh/canncommercial/900/API/aolapi/atlasoxol_09_0070.html
indexId: 8ae5ce8930674c8d305ed68611839cfa4f4008032640f5a16ecd34f6e7b2f17d63
---
# GreaterOrEqual

#### 功能

按元素比较输入Tensor A和Tensor B的大小，若A ≥ B，对应位置返回true。


#### 输入

- A：输入Tensor，数据类型：uint8、int8、float16、float、int32。
- B：输入Tensor，数据类型：uint8、int8、float16、float、int32。


#### 输出

y：输出Tensor，数据类型：bool。


#### 约束与限制

无。


#### 支持的ONNX版本

Opset v12/v13/v14/v15/v16/v17/v18
