Skip to content

Commit

Permalink
Update set_config_cn.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang Ting authored Apr 28, 2022
1 parent bcad0a9 commit 84887c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/paddle/incubate/autotune/set_config_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set_config
- **enable** (bool) - 是否开启kernel的调优功能。
- **tuning_range** (list) - 自动调优开始和结束的迭代序号。默认值:[1, 10]。

2. layout:当开启自动调优,将根据设备和数据类型确定最优的数据布局如NCHW或者NHWC。当原始的layout设置并非最优时,将会自动进行layout的转换以提升模型的性能。该功能当前仅支持动态图模式。调优参数如下:
2. layout:当开启自动调优,将根据设备和数据类型确定最优的数据布局如NCHW或者NHWC。当原始的layout设置并非最优时,将会自动进行layout的转换以提升模型的性能。**该功能当前仅支持动态图模式**。调优参数如下:

- **enable** (bool) - 是否开启layout的调优功能。

Expand Down

1 comment on commit 84887c5

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.