From 1a2764785c04e986a4355c75963530921b38845b Mon Sep 17 00:00:00 2001 From: lvmingfu Date: Sat, 26 Mar 2022 11:34:09 +0800 Subject: [PATCH] modify notebook download links --- .../source_zh_cn/apply_quantization_aware_training.md | 2 +- .../programming_guide/source_zh_cn/custom_debugging_info.md | 2 +- .../source_zh_cn/design/dynamic_graph_and_static_graph.ipynb | 2 +- .../source_zh_cn/design/heterogeneous_training.ipynb | 2 +- .../source_zh_cn/enable_graph_kernel_fusion.md | 2 +- tutorials/source_zh_cn/intermediate/data.ipynb | 2 +- .../image_and_video/adversarial_example_generation.ipynb | 2 +- tutorials/source_zh_cn/intermediate/image_and_video/dcgan.ipynb | 2 +- .../intermediate/inference/ascend910_and_gpu_inference.ipynb | 2 +- tutorials/source_zh_cn/intermediate/mid_low_level_api.ipynb | 2 +- .../intermediate/pynative_mode_and_graph_mode.ipynb | 2 +- .../source_zh_cn/intermediate/text/rnn_classification.ipynb | 2 +- tutorials/source_zh_cn/intermediate/text/rnn_generation.ipynb | 2 +- tutorials/source_zh_cn/intermediate/text/sentimentnet.ipynb | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/mindspore/programming_guide/source_zh_cn/apply_quantization_aware_training.md b/docs/mindspore/programming_guide/source_zh_cn/apply_quantization_aware_training.md index 36def1cb9a..7c54e481db 100644 --- a/docs/mindspore/programming_guide/source_zh_cn/apply_quantization_aware_training.md +++ b/docs/mindspore/programming_guide/source_zh_cn/apply_quantization_aware_training.md @@ -2,7 +2,7 @@ `Ascend` `GPU` `扩展功能` -   +   ## 背景 diff --git a/docs/mindspore/programming_guide/source_zh_cn/custom_debugging_info.md b/docs/mindspore/programming_guide/source_zh_cn/custom_debugging_info.md index e777a38314..41a1908e8d 100644 --- a/docs/mindspore/programming_guide/source_zh_cn/custom_debugging_info.md +++ b/docs/mindspore/programming_guide/source_zh_cn/custom_debugging_info.md @@ -2,7 +2,7 @@ `Ascend` `GPU` `CPU` `模型调优` - +    diff --git a/docs/mindspore/programming_guide/source_zh_cn/design/dynamic_graph_and_static_graph.ipynb b/docs/mindspore/programming_guide/source_zh_cn/design/dynamic_graph_and_static_graph.ipynb index 0e04525b95..39c1ef4faf 100644 --- a/docs/mindspore/programming_guide/source_zh_cn/design/dynamic_graph_and_static_graph.ipynb +++ b/docs/mindspore/programming_guide/source_zh_cn/design/dynamic_graph_and_static_graph.ipynb @@ -8,7 +8,7 @@ "\n", "`Ascend` `GPU` `CPU` `设计` `模型运行`\n", "\n", - "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tYXN0ZXIvcHJvZ3JhbW1pbmdfZ3VpZGUvemhfY24vbWluZHNwb3JlX2R5bmFtaWNfZ3JhcGhfYW5kX3N0YXRpY19ncmFwaC5pcHluYg==&imageid=65f636a0-56cf-49df-b941-7d2a07ba8c8c) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/programming_guide/zh_cn/mindspore_dynamic_graph_and_static_graph.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/programming_guide/zh_cn/mindspore_dynamic_graph_and_static_graph.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/docs/mindspore/programming_guide/source_zh_cn/design/dynamic_graph_and_static_graph.ipynb)\n", + "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9yMS42L3Byb2dyYW1taW5nX2d1aWRlL3poX2NuL2Rlc2lnbi9taW5kc3BvcmVfZHluYW1pY19ncmFwaF9hbmRfc3RhdGljX2dyYXBoLmlweW5i&imageid=65f636a0-56cf-49df-b941-7d2a07ba8c8c) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/programming_guide/zh_cn/design/mindspore_dynamic_graph_and_static_graph.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/programming_guide/zh_cn/design/mindspore_dynamic_graph_and_static_graph.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/docs/mindspore/programming_guide/source_zh_cn/design/dynamic_graph_and_static_graph.ipynb)\n", "\n", "## 静态图和动态图的概念\n", "\n", diff --git a/docs/mindspore/programming_guide/source_zh_cn/design/heterogeneous_training.ipynb b/docs/mindspore/programming_guide/source_zh_cn/design/heterogeneous_training.ipynb index 3b388edec6..a61dd303da 100644 --- a/docs/mindspore/programming_guide/source_zh_cn/design/heterogeneous_training.ipynb +++ b/docs/mindspore/programming_guide/source_zh_cn/design/heterogeneous_training.ipynb @@ -8,7 +8,7 @@ "\n", "`Ascend` `GPU` `设计` `模型运行`\n", "\n", - "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tYXN0ZXIvcHJvZ3JhbW1pbmdfZ3VpZGUvemhfY24vbWluZHNwb3JlX2hldGVyb2dlbmVvdXNfdHJhaW5pbmcuaXB5bmI=&imageid=65f636a0-56cf-49df-b941-7d2a07ba8c8c) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/programming_guide/zh_cn/mindspore_heterogeneous_training.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/programming_guide/zh_cn/mindspore_heterogeneous_training.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/docs/mindspore/programming_guide/source_zh_cn/design/heterogeneous_training.ipynb)\n", + "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9yMS42L3Byb2dyYW1taW5nX2d1aWRlL3poX2NuL2Rlc2lnbi9taW5kc3BvcmVfaGV0ZXJvZ2VuZW91c190cmFpbmluZy5pcHluYg==&imageid=65f636a0-56cf-49df-b941-7d2a07ba8c8c) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/programming_guide/zh_cn/design/mindspore_heterogeneous_training.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/programming_guide/zh_cn/design/mindspore_heterogeneous_training.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/docs/mindspore/programming_guide/source_zh_cn/design/heterogeneous_training.ipynb)\n", "\n", "## 概述\n", "\n", diff --git a/docs/mindspore/programming_guide/source_zh_cn/enable_graph_kernel_fusion.md b/docs/mindspore/programming_guide/source_zh_cn/enable_graph_kernel_fusion.md index 29dee2ff4c..4bfab98232 100644 --- a/docs/mindspore/programming_guide/source_zh_cn/enable_graph_kernel_fusion.md +++ b/docs/mindspore/programming_guide/source_zh_cn/enable_graph_kernel_fusion.md @@ -2,7 +2,7 @@ `Ascend` `GPU` `CPU` `模型调优` -   +   ## 概述 diff --git a/tutorials/source_zh_cn/intermediate/data.ipynb b/tutorials/source_zh_cn/intermediate/data.ipynb index 1d0b0622de..c1d2177b49 100644 --- a/tutorials/source_zh_cn/intermediate/data.ipynb +++ b/tutorials/source_zh_cn/intermediate/data.ipynb @@ -7,7 +7,7 @@ "\n", "`Ascend` `GPU` `CPU` `进阶` `数据准备`\n", "\n", - "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX2RhdGEuaXB5bmI=&imageid=65f636a0-56cf-49df-b941-7d2a07ba8c8c) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_data.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_data.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/data.ipynb)\n", + "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX2RhdGEuaXB5bmI=&imageid=65f636a0-56cf-49df-b941-7d2a07ba8c8c) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/mindspore_data.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/mindspore_data.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/data.ipynb)\n", "\n", "MindSpore可以加载常见的数据集或自定义的数据集,这部分功能在初级教程中进行了部分介绍。加载自定义数据集有两种途径:\n", "\n", diff --git a/tutorials/source_zh_cn/intermediate/image_and_video/adversarial_example_generation.ipynb b/tutorials/source_zh_cn/intermediate/image_and_video/adversarial_example_generation.ipynb index a0b69dccd7..857e7eb8aa 100644 --- a/tutorials/source_zh_cn/intermediate/image_and_video/adversarial_example_generation.ipynb +++ b/tutorials/source_zh_cn/intermediate/image_and_video/adversarial_example_generation.ipynb @@ -7,7 +7,7 @@ "\n", "`Ascend` `GPU` `CPU` `进阶` `计算机视觉` `全流程`\n", "\n", - "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX2FkdmVyc2FyaWFsX2V4YW1wbGVfZ2VuZXJhdGlvbi5pcHluYg==&imageid=59a6e9f5-93c0-44dd-85b0-82f390c5d53b) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_adversarial_example_generation.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_adversarial_example_generation.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/image_and_video/adversarial_example_generation.ipynb)\n", + "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX2FkdmVyc2FyaWFsX2V4YW1wbGVfZ2VuZXJhdGlvbi5pcHluYg==&imageid=59a6e9f5-93c0-44dd-85b0-82f390c5d53b) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/image_and_video/mindspore_adversarial_example_generation.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/image_and_video/mindspore_adversarial_example_generation.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/image_and_video/adversarial_example_generation.ipynb)\n", "\n", "近年来随着数据、计算能力、理论的不断发展演进,深度学习在图像、文本、语音、自动驾驶等众多领域都得到了广泛应用。与此同时,人们也越来越关注各类模型在使用过程中的安全问题,因为AI模型很容易受到外界有意无意的攻击而产生错误的结果。在本案例中,我们将以梯度符号攻击FGSM(Fast Gradient Sign Method)为例,演示此类攻击是如何误导模型的。\n", "\n", diff --git a/tutorials/source_zh_cn/intermediate/image_and_video/dcgan.ipynb b/tutorials/source_zh_cn/intermediate/image_and_video/dcgan.ipynb index 6363797395..6791c0a336 100644 --- a/tutorials/source_zh_cn/intermediate/image_and_video/dcgan.ipynb +++ b/tutorials/source_zh_cn/intermediate/image_and_video/dcgan.ipynb @@ -7,7 +7,7 @@ "\n", "`Ascend` `GPU` `进阶` `计算机视觉` `全流程`\n", "\n", - "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX2RjZ2FuLmlweW5i&imageid=59a6e9f5-93c0-44dd-85b0-82f390c5d53b) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_dcgan.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_dcgan.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/image_and_video/dcgan.ipynb)" + "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX2RjZ2FuLmlweW5i&imageid=59a6e9f5-93c0-44dd-85b0-82f390c5d53b) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/image_and_video/mindspore_dcgan.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/image_and_video/mindspore_dcgan.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/image_and_video/dcgan.ipynb)" ], "metadata": {} }, diff --git a/tutorials/source_zh_cn/intermediate/inference/ascend910_and_gpu_inference.ipynb b/tutorials/source_zh_cn/intermediate/inference/ascend910_and_gpu_inference.ipynb index 51edfed406..eb17a2b5c3 100644 --- a/tutorials/source_zh_cn/intermediate/inference/ascend910_and_gpu_inference.ipynb +++ b/tutorials/source_zh_cn/intermediate/inference/ascend910_and_gpu_inference.ipynb @@ -7,7 +7,7 @@ "\n", "`Ascend` `GPU` `进阶` `推理应用`\n", "\n", - "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX2FzY2VuZDkxMF9hbmRfZ3B1X2luZmVyZW5jZS5pcHluYg==&imageid=65f636a0-56cf-49df-b941-7d2a07ba8c8c) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_ascend910_and_gpu_inference.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_ascend910_and_gpu_inference.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/inference/ascend910_and_gpu_inference.ipynb)\n", + "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX2FzY2VuZDkxMF9hbmRfZ3B1X2luZmVyZW5jZS5pcHluYg==&imageid=65f636a0-56cf-49df-b941-7d2a07ba8c8c) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/inference/mindspore_ascend910_and_gpu_inference.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/inference/mindspore_ascend910_and_gpu_inference.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/inference/ascend910_and_gpu_inference.ipynb)\n", "\n", "本文将介绍如何在Ascend910和GPU硬件环境中,利用MindIR和Checkpoint执行推理。MindIR是MindSpore的统一模型文件,同时存储了网络结构和权重参数值,定义了可扩展的图结构以及算子的IR表示,消除了不同后端的模型差异,一般用于跨硬件平台执行推理任务。Checkpoint是训练参数,采用了Protocol Buffers格式,一般用于训练任务中断后恢复训练,或训练后的微调(Fine Tune)任务。\n", "\n", diff --git a/tutorials/source_zh_cn/intermediate/mid_low_level_api.ipynb b/tutorials/source_zh_cn/intermediate/mid_low_level_api.ipynb index 601f8a571d..90d05bb4a5 100644 --- a/tutorials/source_zh_cn/intermediate/mid_low_level_api.ipynb +++ b/tutorials/source_zh_cn/intermediate/mid_low_level_api.ipynb @@ -8,7 +8,7 @@ "\n", "`Ascend` `GPU` `CPU` `进阶` `全流程`\n", "\n", - "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tYXN0ZXIvdHV0b3JpYWxzL3poX2NuL21pbmRzcG9yZV9taWRfbG93X2xldmVsX2FwaS5pcHluYg==&imageid=59a6e9f5-93c0-44dd-85b0-82f390c5d53b) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_mid_low_level_api.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_mid_low_level_api.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/mid_low_level_api.ipynb)\n", + "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9yMS42L3R1dG9yaWFscy96aF9jbi9pbnRlcm1lZGlhdGUvbWluZHNwb3JlX21pZF9sb3dfbGV2ZWxfYXBpLmlweW5i&imageid=59a6e9f5-93c0-44dd-85b0-82f390c5d53b) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/mindspore_mid_low_level_api.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/mindspore_mid_low_level_api.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/mid_low_level_api.ipynb)\n", "\n", "为方便用户控制整网的执行流程,MindSpore提供了高阶的训练和推理接口`mindspore.Model`,通过指定要训练的神经网络模型和常见的训练设置,调用`train`和`eval`方法对网络进行训练和推理。同时,用户如果想要对特定模块进行个性化设置,也可以调用对应的中低阶接口自行定义,本文介绍了如何使用中低阶API定义各个模块。\n", "\n", diff --git a/tutorials/source_zh_cn/intermediate/pynative_mode_and_graph_mode.ipynb b/tutorials/source_zh_cn/intermediate/pynative_mode_and_graph_mode.ipynb index 70ff19ad0e..108035a2ed 100644 --- a/tutorials/source_zh_cn/intermediate/pynative_mode_and_graph_mode.ipynb +++ b/tutorials/source_zh_cn/intermediate/pynative_mode_and_graph_mode.ipynb @@ -7,7 +7,7 @@ "\n", "`Ascend` `GPU` `CPU` `进阶` `模型运行`\n", "\n", - "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX3B5bmF0aXZlX21vZGVfYW5kX2dyYXBoX21vZGUuaXB5bmI=&imageid=59a6e9f5-93c0-44dd-85b0-82f390c5d53b) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_pynative_mode_and_graph_mode.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_pynative_mode_and_graph_mode.py)\n [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/pynative_mode_and_graph_mode.ipynb)\n", + "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX3B5bmF0aXZlX21vZGVfYW5kX2dyYXBoX21vZGUuaXB5bmI=&imageid=59a6e9f5-93c0-44dd-85b0-82f390c5d53b) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/mindspore_pynative_mode_and_graph_mode.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/mindspore_pynative_mode_and_graph_mode.py)\n [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/pynative_mode_and_graph_mode.ipynb)\n", "\n", "## 概述\n", "\n", diff --git a/tutorials/source_zh_cn/intermediate/text/rnn_classification.ipynb b/tutorials/source_zh_cn/intermediate/text/rnn_classification.ipynb index d4f3a5c080..85bde20e1a 100644 --- a/tutorials/source_zh_cn/intermediate/text/rnn_classification.ipynb +++ b/tutorials/source_zh_cn/intermediate/text/rnn_classification.ipynb @@ -7,7 +7,7 @@ "\n", "`Ascend` `GPU` `进阶` `自然语言处理` `全流程`\n", "\n", - "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX3Jubl9jbGFzc2lmaWNhdGlvbi5pcHluYg==&imageid=59a6e9f5-93c0-44dd-85b0-82f390c5d53b) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_rnn_classification.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_rnn_classification.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/text/rnn_classification.ipynb)" + "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX3Jubl9jbGFzc2lmaWNhdGlvbi5pcHluYg==&imageid=59a6e9f5-93c0-44dd-85b0-82f390c5d53b) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/text/mindspore_rnn_classification.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/text/mindspore_rnn_classification.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/text/rnn_classification.ipynb)" ], "metadata": {} }, diff --git a/tutorials/source_zh_cn/intermediate/text/rnn_generation.ipynb b/tutorials/source_zh_cn/intermediate/text/rnn_generation.ipynb index 0ae9aea161..18e940049d 100644 --- a/tutorials/source_zh_cn/intermediate/text/rnn_generation.ipynb +++ b/tutorials/source_zh_cn/intermediate/text/rnn_generation.ipynb @@ -7,7 +7,7 @@ "\n", "`Ascend` `GPU` `进阶` `自然语言处理` `全流程`\n", "\n", - "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX3Jubl9nZW5lcmF0aW9uLmlweW5i&imageid=59a6e9f5-93c0-44dd-85b0-82f390c5d53b) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_rnn_generation.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_rnn_generation.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/text/rnn_generation.ipynb)" + "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvcXVpY2tfc3RhcnQvbWluZHNwb3JlX3Jubl9nZW5lcmF0aW9uLmlweW5i&imageid=59a6e9f5-93c0-44dd-85b0-82f390c5d53b) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/text/mindspore_rnn_generation.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/text/mindspore_rnn_generation.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/text/rnn_generation.ipynb)" ], "metadata": {} }, diff --git a/tutorials/source_zh_cn/intermediate/text/sentimentnet.ipynb b/tutorials/source_zh_cn/intermediate/text/sentimentnet.ipynb index 8c33f2f743..1f58384f17 100644 --- a/tutorials/source_zh_cn/intermediate/text/sentimentnet.ipynb +++ b/tutorials/source_zh_cn/intermediate/text/sentimentnet.ipynb @@ -7,7 +7,7 @@ "\n", "`GPU` `CPU` `进阶` `自然语言处理` `全流程`\n", "\n", - "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvbWluZHNwb3JlX3NlbnRpbWVudG5ldC5pcHluYg==&imageid=65f636a0-56cf-49df-b941-7d2a07ba8c8c) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_sentimentnet.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/mindspore_sentimentnet.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/text/sentimentnet.ipynb)" + "[![在线运行](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_modelarts.png)](https://authoring-modelarts-cnnorth4.huaweicloud.com/console/lab?share-url-b64=aHR0cHM6Ly9taW5kc3BvcmUtd2Vic2l0ZS5vYnMuY24tbm9ydGgtNC5teWh1YXdlaWNsb3VkLmNvbS9ub3RlYm9vay9tb2RlbGFydHMvbWluZHNwb3JlX3NlbnRpbWVudG5ldC5pcHluYg==&imageid=65f636a0-56cf-49df-b941-7d2a07ba8c8c) [![下载Notebook](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_notebook.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/text/mindspore_sentimentnet.ipynb) [![下载样例代码](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_download_code.png)](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/r1.6/tutorials/zh_cn/intermediate/text/mindspore_sentimentnet.py) [![查看源文件](https://gitee.com/mindspore/docs/raw/r1.6/resource/_static/logo_source.png)](https://gitee.com/mindspore/docs/blob/r1.6/tutorials/source_zh_cn/intermediate/text/sentimentnet.ipynb)" ], "metadata": {} }, -- Gitee