diff --git a/docs/mindspore/source_en/model_train/custom_program/operation/op_custom_ascendc.md b/docs/mindspore/source_en/model_train/custom_program/operation/op_custom_ascendc.md index e40cdd06baa9d5528a16d8ec32c8a2772e4ead72..70a2849c8b27c464a8c1b5724ce29e7b71f40151 100644 --- a/docs/mindspore/source_en/model_train/custom_program/operation/op_custom_ascendc.md +++ b/docs/mindspore/source_en/model_train/custom_program/operation/op_custom_ascendc.md @@ -18,7 +18,7 @@ The Ascend platform provides comprehensive tutorials for Ascend C operator devel **Basic Tutorial**: Visit [Ascend C Operator Development](https://www.hiascend.com/document/detail/en/canncommercial/700/operatordev/Ascendcopdevg/atlas_ascendc_10_0001.html) to obtain introductory knowledge. -**Operator Implementation**: Focus on learning [kernel-side operator implementation](https://www.hiascend.com/document/detail/en/canncommercial/70RC1/operatordev/Ascendcopdevg/atlas_ascendc_10_0024.html) and [host-side operator implementation](https://www.hiascend.com/document/detail/en/canncommercial/70RC1/operatordev/Ascendcopdevg/atlas_ascendc_10_0024.html), learning the core logic of device-side operator execution and the implementation method of host-side operator operations. +**Operator Implementation**: Focus on learning [kernel-side operator implementation](https://www.hiascend.com/document/detail/zh/canncommercial/700/operatordev/Ascendcopdevg/atlas_ascendc_10_0028.html) and [host-side operator implementation](https://www.hiascend.com/document/detail/zh/canncommercial/700/operatordev/Ascendcopdevg/atlas_ascendc_10_0030.html), learning the core logic of device-side operator execution and the implementation method of host-side operator operations. **Development Samples**: Ascend Community provides a wealth of [Ascend C Operator Development Samples](https://gitee.com/ascend/samples/tree/master/operator/ascendc), covering various types of operators, helping you quickly understand the practical application of operator development. You can also view the [AddCustom Custom Operator Development Sample](https://gitee.com/ascend/samples/tree/master/operator/ascendc/0_introduction/1_add_frameworklaunch/AddCustom), which simply shows the core work needed for custom operator development. @@ -83,7 +83,7 @@ Make sure you have the following conditions to use MindSpore's Ascend C custom o ### Additional Information -This tool is based on the encapsulation of CANN's `msopgen` tool. You can also choose to use the native `msopgen` tool for compilation. For more information, please refer to [Creating Operator Projects Based on the msopgen Tool](https://www.hiascend.com/document/detail/en/canncommercial/70RC1/operatordev/Ascendcopdevg/atlas_ascendc_10_0023.html) and [Operator Compilation and Deployment](https://www.hiascend.com/document/detail/en/canncommercial/70RC1/operatordev/Ascendcopdevg/atlas_ascendc_10_0031.html). +This tool is based on the encapsulation of CANN's `msopgen` tool. You can also choose to use the native `msopgen` tool for compilation. For more information, please refer to [Creating Operator Projects Based on the msopgen Tool](https://www.hiascend.com/document/detail/zh/canncommercial/700/operatordev/Ascendcopdevg/atlas_ascendc_10_0027.html) and [Operator Compilation and Deployment](https://www.hiascend.com/document/detail/zh/canncommercial/700/operatordev/Ascendcopdevg/atlas_ascendc_10_0035.html). ## Using Custom Operators in MindSpore diff --git a/docs/mindspore/source_zh_cn/model_train/custom_program/operation/op_custom_ascendc.md b/docs/mindspore/source_zh_cn/model_train/custom_program/operation/op_custom_ascendc.md index 8ba86e50d84c0f00c45e4819e523a867c372aaee..acf9a0631ed318ddcf44f26a2a6c85f1fc059724 100644 --- a/docs/mindspore/source_zh_cn/model_train/custom_program/operation/op_custom_ascendc.md +++ b/docs/mindspore/source_zh_cn/model_train/custom_program/operation/op_custom_ascendc.md @@ -18,7 +18,7 @@ AOT类型的自定义算子采用预编译的方式,要求网络开发者基 **基础教程**:访问[Ascend C算子开发](https://www.hiascend.com/document/detail/zh/canncommercial/700/operatordev/Ascendcopdevg/atlas_ascendc_10_0001.html) 获取入门知识。 -**算子实现**:重点学习[kernel侧算子实现](https://www.hiascend.com/document/detail/zh/canncommercial/70RC1/operatordev/Ascendcopdevg/atlas_ascendc_10_0024.html) 和[host侧算子实现](https://www.hiascend.com/document/detail/zh/canncommercial/70RC1/operatordev/Ascendcopdevg/atlas_ascendc_10_0024.html) ,学习设备端执行算子的核心逻辑和主机端进行算子操作的实现方法。 +**算子实现**:重点学习[kernel侧算子实现](https://www.hiascend.com/document/detail/zh/canncommercial/700/operatordev/Ascendcopdevg/atlas_ascendc_10_0028.html) 和[host侧算子实现](https://www.hiascend.com/document/detail/zh/canncommercial/700/operatordev/Ascendcopdevg/atlas_ascendc_10_0030.html) ,学习设备端执行算子的核心逻辑和主机端进行算子操作的实现方法。 **开发样例**:昇腾社区提供了丰富的 [Ascend C算子开发样例](https://gitee.com/ascend/samples/tree/master/operator/ascendc) ,覆盖了多种类型算子,帮助您快速理解算子开发的实际应用。也可以查看 [AddCustom自定义算子开发样例](https://gitee.com/ascend/samples/tree/master/operator/ascendc/0_introduction/1_add_frameworklaunch/AddCustom) ,它简洁展示了一个自定义算子开发需要的核心工作。 @@ -83,8 +83,8 @@ AOT类型的自定义算子采用预编译的方式,要求网络开发者基 ### 补充说明 -本工具基于CANN的`msopgen`工具封装,您也可以选择使用原生`msopgen`工具进行编译。有关更多信息,请参考[基于msopgen工具创建算子工程](https://www.hiascend.com/document/detail/zh/canncommercial/70RC1/operatordev/Ascendcopdevg/atlas_ascendc_10_0023.html) 和 -[算子编译部署](https://www.hiascend.com/document/detail/zh/canncommercial/70RC1/operatordev/Ascendcopdevg/atlas_ascendc_10_0031.html)。 +本工具基于CANN的`msopgen`工具封装,您也可以选择使用原生`msopgen`工具进行编译。有关更多信息,请参考[基于msopgen工具创建算子工程](https://www.hiascend.com/document/detail/zh/canncommercial/700/operatordev/Ascendcopdevg/atlas_ascendc_10_0027.html) 和 +[算子编译部署](https://www.hiascend.com/document/detail/zh/canncommercial/700/operatordev/Ascendcopdevg/atlas_ascendc_10_0035.html) 。 ## MindSpore使用自定义算子