---
title: remove_node
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendgraphapi/atlasgeapi_07_0726.html
sourcePath: /source/zh/canncommercial/900/API/ascendgraphapi/atlasgeapi_07_0726.html
indexId: f19b605ed122d7da678e55cef1a3ba93b28d49e68f8e12c81958b5f4c5b6c12272
---
# remove_node

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | √ |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | √ |
| Atlas 推理系列产品 | √ |
| Atlas 训练系列产品 | √ |


#### 功能说明

从图中移除节点。


#### 函数原型

```
remove_node(node: Node) -> None
```


#### 参数说明

| 参数名 | 输入/输出 | 描述 |
| --- | --- | --- |
| node | 输入 | 要移除的节点。 |


#### 返回值说明

无


#### 约束说明

- 如果node不是Node类型，抛出TypeError。
- 如果移除操作失败，抛出RuntimeError。
