---
title: IsEmpty
description: 判断Tensor是否为空。
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/msadg/mxvisionug_0759.html"
---

# IsEmpty

#### 函数功能

判断Tensor是否为空。


#### 函数原型

```
bool IsEmpty()
```


#### 返回参数说明

| 数据结构 | 说明 |
| --- | --- |
| bool | 判断Tensor是否为空的结果，布尔类型。 |
