---
title: DynamicShapeSupportFlag
description: "用于标识该算子是否支持入图时的动态Shape场景。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendcopapi/atlasascendc_api_07_0994.html
sourcePath: /source/zh/canncommercial/900/API/ascendcopapi/atlasascendc_api_07_0994.html
indexId: d06ded327fe1fa9ec4e7243d63c54db88957612d754cdeeba31c0b40f128b58f76
---
# DynamicShapeSupportFlag

#### 功能说明

用于标识该算子是否支持入图时的动态Shape场景。


#### 函数原型

```
OpAICoreConfig &DynamicShapeSupportFlag(bool flag)
```


#### 参数说明

| 参数 | 输入/输出 | 说明 |
| --- | --- | --- |
| flag | 输入 | true：表示算子支持入图时的动态Shape场景。 false：表示算子不支持入图时的动态Shape场景。 |


#### 返回值说明

OpAICoreConfig类，请参考OpAICoreConfig。


#### 约束说明

无
