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

#### 产品支持情况

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


#### 函数功能

设置调优图的输入。同步接口。


#### 约束说明

请参考接口约束说明。


#### 函数原型

```
AoeStatus AoeSetTuningGraphInput(uint64_t sessionId, const std::vector<ge::Tensor> &input)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| sessionId | 输入 | AOE调优的session id。 |
| input | 输入 | 调优图输入Tensor，为Host上分配的内存空间。 |


#### 返回值说明

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