---
title: AoeTuningGraph
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/devaids/aoe/aoeref_16_0011.html
sourcePath: /source/zh/canncommercial/900/devaids/aoe/aoeref_16_0011.html
indexId: 95b0b16ea7fecd513a95e140dc4bce2f455c6734584463f622077b53473e82b361
---
# AoeTuningGraph

#### 产品支持情况

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


#### 函数功能

开始AOE调优，同步接口。


#### 约束说明

请参考接口约束说明。


#### 函数原型

```
AoeStatus AoeTuningGraph(uint64_t sessionId, const std::map<ge::AscendString, ge::AscendString> &tuningOptions)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| sessionId | 输入 | AOE调优的session id。 |
| tuningOptions | 输入 | 调优options，请参见TuningOption。 |


#### 返回值说明

返回0表示成功，返回其它值含义请参见AOE API错误码。
