---
title: GetGraphBuilder
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/dataflowdevg/dfrefc_23_0055.html
sourcePath: /source/zh/canncommercial/900/others/dataflowdevg/dfrefc_23_0055.html
indexId: e6a2d376e78fd0f70536fe19f03c54d9248a67b113d1f1421b983d07ae27b26769
---
# GetGraphBuilder

#### 产品支持情况

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


#### 函数功能

获取FlowGraphPp中Graph的创建函数。


#### 函数原型

```
GraphBuilder GetGraphBuilder() const
```


#### 参数说明

无


#### 返回值

Graph的创建函数，函数原型如下。

```
std::function<ge::Graph()>
```


#### 异常处理

无。


#### 约束说明

无。
