From e1a5d3453916bd4dda1c8b55b1c222b0ef870b16 Mon Sep 17 00:00:00 2001 From: huan <3174348550@qq.com> Date: Mon, 11 Aug 2025 11:34:04 +0800 Subject: [PATCH] modify file order --- docs/mindspore/source_en/api_python/env_var_list.rst | 2 +- docs/mindspore/source_zh_cn/api_python/env_var_list.rst | 2 +- .../source_en/{custom_program => compile}/fusion_pass.md | 4 ++-- tutorials/source_en/index.rst | 2 +- .../source_zh_cn/{custom_program => compile}/fusion_pass.md | 4 ++-- tutorials/source_zh_cn/index.rst | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) rename tutorials/source_en/{custom_program => compile}/fusion_pass.md (99%) rename tutorials/source_zh_cn/{custom_program => compile}/fusion_pass.md (99%) diff --git a/docs/mindspore/source_en/api_python/env_var_list.rst b/docs/mindspore/source_en/api_python/env_var_list.rst index 46144ab9ec..84cc33b0de 100644 --- a/docs/mindspore/source_en/api_python/env_var_list.rst +++ b/docs/mindspore/source_en/api_python/env_var_list.rst @@ -341,7 +341,7 @@ Graph Compilation and Execution enable_debug_mode: Insert synchronization points before and after the graph kernel mod launch, and print debugging information if the launch fails. This is supported only for the GPU backend. Default value: `False`. path: use specified json file. When this option is set, the above options are ignored. - - Refer to the `Custom Fusion `_ + - Refer to the `Custom Fusion `_ * - MS_DEV_DISABLE_AUTO_H2D - Control whether the input of the operator performs implicit copying in PyNative mode. When enabled, implicit copying of operator input will be disabled. diff --git a/docs/mindspore/source_zh_cn/api_python/env_var_list.rst b/docs/mindspore/source_zh_cn/api_python/env_var_list.rst index b99fbcf457..8459888597 100644 --- a/docs/mindspore/source_zh_cn/api_python/env_var_list.rst +++ b/docs/mindspore/source_zh_cn/api_python/env_var_list.rst @@ -341,7 +341,7 @@ enable_debug_mode:在图算kernelmod launch前后插同步,并在launch失败时打印调试信息,仅支持GPU后端。默认值: `False` 。 path:指定读取json配置。当设置该选项时,忽略以上选项。 - - 详细说明参考 `自定义融合 `_ + - 详细说明参考 `自定义融合 `_ * - MS_DEV_DISABLE_AUTO_H2D - 控制动态图流程算子输入是否隐式拷贝。开启后,将关闭动态图算子输入隐式拷贝。 diff --git a/tutorials/source_en/custom_program/fusion_pass.md b/tutorials/source_en/compile/fusion_pass.md similarity index 99% rename from tutorials/source_en/custom_program/fusion_pass.md rename to tutorials/source_en/compile/fusion_pass.md index f4067f849f..c476a53635 100644 --- a/tutorials/source_en/custom_program/fusion_pass.md +++ b/tutorials/source_en/compile/fusion_pass.md @@ -1,6 +1,6 @@ -# Custom Fusion +# Custom Fusion Strategy -[![View Source On Gitee](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/master/resource/_static/logo_source_en.svg)](https://gitee.com/mindspore/docs/blob/master/tutorials/source_en/custom_program/fusion_pass.md) +[![View Source On Gitee](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/master/resource/_static/logo_source_en.svg)](https://gitee.com/mindspore/docs/blob/master/tutorials/source_en/compile/fusion_pass.md) ## Overview diff --git a/tutorials/source_en/index.rst b/tutorials/source_en/index.rst index e10fdc2ccb..b8ff888cb2 100644 --- a/tutorials/source_en/index.rst +++ b/tutorials/source_en/index.rst @@ -45,6 +45,7 @@ MindSpore Tutorial compile/statements compile/python_builtin_functions compile/static_graph_expert_programming + compile/fusion_pass .. toctree:: :glob: @@ -81,7 +82,6 @@ MindSpore Tutorial :hidden: custom_program/op_custom - custom_program/fusion_pass custom_program/hook_program .. toctree:: diff --git a/tutorials/source_zh_cn/custom_program/fusion_pass.md b/tutorials/source_zh_cn/compile/fusion_pass.md similarity index 99% rename from tutorials/source_zh_cn/custom_program/fusion_pass.md rename to tutorials/source_zh_cn/compile/fusion_pass.md index 8d6ea1ac7c..99f811583f 100644 --- a/tutorials/source_zh_cn/custom_program/fusion_pass.md +++ b/tutorials/source_zh_cn/compile/fusion_pass.md @@ -1,6 +1,6 @@ -# 自定义融合 +# 自定义融合策略 -[![查看源文件](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/master/resource/_static/logo_source.svg)](https://gitee.com/mindspore/docs/blob/master/tutorials/source_zh_cn/custom_program/fusion_pass.md) +[![查看源文件](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/master/resource/_static/logo_source.svg)](https://gitee.com/mindspore/docs/blob/master/tutorials/source_zh_cn/compile/fusion_pass.md) ## 概述 diff --git a/tutorials/source_zh_cn/index.rst b/tutorials/source_zh_cn/index.rst index 4ed77cb60e..4fe672c751 100644 --- a/tutorials/source_zh_cn/index.rst +++ b/tutorials/source_zh_cn/index.rst @@ -45,6 +45,7 @@ MindSpore教程 compile/statements compile/python_builtin_functions compile/static_graph_expert_programming + compile/fusion_pass .. toctree:: :glob: @@ -81,7 +82,6 @@ MindSpore教程 :hidden: custom_program/op_custom - custom_program/fusion_pass custom_program/hook_program .. toctree:: -- Gitee