---
title: Not
description: "对输入Tensor逐元素执行逻辑非。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/aolapi/atlasoxol_09_0108.html
sourcePath: /source/zh/canncommercial/900/API/aolapi/atlasoxol_09_0108.html
indexId: 737d2af4f065bd6a9ac2d1eca22e40b40f6d4da672f474259f6641d5571c6a9c63
---
# Not

#### 功能

对输入Tensor逐元素执行逻辑非。


#### 输入

x：输入Tensor，数据类型：bool。


#### 输出

y：输出Tensor，shape、数据类型与输入一致。


#### 约束与限制

无。


#### 支持的ONNX版本

Opset v8/v9/v10/v11/v12/v13/v14/v15/v16/v17/v18。
