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

#### 产品支持情况

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


#### 功能说明

静态Kernel调优模式下，需要预先dump算子json文件，该参数用于指定算子json文件的存放路径。dump算子json文件的具体操作请参考aclopStartDumpArgs和aclopStopDumpArgs接口。

当前该功能支持如下型号：

Atlas A2 训练系列产品 / Atlas A2 推理系列产品

Atlas A3 训练系列产品 / Atlas A3 推理系列产品


#### 关联参数

需要和--op_tune_mode=static_kernel或者fast、--precision_mode=must_keep_origin_dtype同时使用。


#### 参数取值

支持大小写字母（a-z，A-Z）、数字（0-9）、下划线（_）、中划线（-）、句点（.）、中文汉字。


#### 示例

```
--op_tune_file=/home/lxl/json --op_tune_mode=static_kernel --precision_mode=must_keep_origin_dtype --op_tune_kernel_path=/home/lxl/kernel
```
