---
title: SetDynamicOutputFormat
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/TensorFlowCommercial/latest/Convergence/tfscopedevg/atlassfpapi_07_0133.html
sourcePath: /source/zh/TensorFlowCommercial/900/Convergence/tfscopedevg/atlassfpapi_07_0133.html
indexId: 7a11aa42a8ab67ebc8bbb449c4cbf312a4f8bcd98e9e340916845dccf6fa156284
---
# SetDynamicOutputFormat

#### 产品支持情况

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


#### 函数功能

设置DynamicOutput格式。


#### 函数原型

数据类型为string的接口后续版本会废弃，建议使用数据类型为非string的接口。


```
ge::graphStatus SetDynamicOutputFormat(const std::string &output_name, uint32_t index, const std::string &format);
ge::graphStatus SetDynamicOutputFormat(const char_t *output_name, uint32_t index, const char_t *format);
```


#### 参数说明

| 参数名 | 输入/输出 | 描述 |
| --- | --- | --- |
| output\_name | 输入 | InnerNode输出算子名称 |
| index | 输入 | InnerNode输出算子index信息 |
| format | 输入 | InnerNode输出算子格式信息 |


#### 返回值

无。


#### 约束说明

无。
