---
title: ComputeCost
description: "此参数为预留参数，请保持固定值“100”。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendcopapi/atlasascendc_api_07_00213.html
sourcePath: /source/zh/canncommercial/900/API/ascendcopapi/atlasascendc_api_07_00213.html
indexId: 17b443b6139e682d1e57fc9f211bfc6896496dbe1c3a3e9b5d2226b71b6045e377
---
# ComputeCost

#### 功能说明

此参数为预留参数，请保持固定值“100”。


#### 函数原型

```
OpAICPUDef &ComputeCost(const char *value)
```


#### 参数说明

| 参数 | 输入/输出 | 说明 |
| --- | --- | --- |
| value | 输入 | 此参数为预留参数，请保持固定值“100”。 |


#### 返回值说明

OpAICPUDef算子定义，OpAICPUDef请参考OpAICPUDef。


#### 约束说明

无
