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

#### 产品支持情况

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


#### 函数功能

设置节点balance gather属性，具有balance gather属性的UDF可以使用balance options设置负载均衡亲和输出。


#### 函数原型

```
FlowNode &SetBalanceGather()
```


#### 参数说明

无。


#### 返回值

返回设置完属性的FlowNode节点。


#### 异常处理

无。


#### 约束说明

与SetBalanceScatter接口互斥。
