---
title: 简介
description: "GE改图相关的工具类。如shape推导，校验节点是否支持，部分图优化工具方法等。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendgraphapi/atlasgeapi_07_0547.html
sourcePath: /source/zh/canncommercial/900/API/ascendgraphapi/atlasgeapi_07_0547.html
indexId: 14c15e2b63187892831d6f2feb3dea28953911cdf1bd9e6c309c0217755106f272
---
# 简介

GE改图相关的工具类。如shape推导，校验节点是否支持，部分图优化工具方法等。

#### 需要包含的头文件

```
#include <ge/ge_utils.h>
```


#### Public成员函数

```
static Status InferShape(const Graph &graph, const std::vector<Shape> &input_shape)
static Status CheckNodeSupportOnAicore(const GNode &node, bool &is_supported, AscendString &unsupported_reason)
```
