diff --git a/docs/source_en/design.rst b/docs/source_en/design.rst index 1802815b67b456f7e2d7b33bb75291abc33f4930..a34e1d088ddecf7ea109fd421c409b1abf6a689a 100644 --- a/docs/source_en/design.rst +++ b/docs/source_en/design.rst @@ -1,9 +1,10 @@ -design +Design =========== .. toctree:: :maxdepth: 1 architecture + design/mindinsight/training_visual_design design/mindinsight/graph_visual_design design/mindinsight/tensor_visual_design \ No newline at end of file diff --git a/tutorials/source_en/advanced_use/summary_record.md b/tutorials/source_en/advanced_use/summary_record.md index dc09b81001496eb4e057897682c1c8677b3ceac0..c8e52b400e6defdbb4dab5428947cc0c8dea22a9 100644 --- a/tutorials/source_en/advanced_use/summary_record.md +++ b/tutorials/source_en/advanced_use/summary_record.md @@ -341,7 +341,7 @@ For more parameter Settings, see the [MindInsight related commands](https://www. If the custom callback use `SummaryRecord`, it can not be used with `SummaryCollector` at the same time. Right code: - ```python3 + ``` ... summary_collector = SummaryCollector('./summary_dir') model.train(epoch=2, train_dataset, callbacks=[summary_collector]) @@ -350,7 +350,7 @@ For more parameter Settings, see the [MindInsight related commands](https://www. ``` Wrong code: - ```python3 + ``` ... summary_collector1 = SummaryCollector('./summary_dir1') summary_collector2 = SummaryCollector('./summary_dir2') @@ -358,7 +358,7 @@ For more parameter Settings, see the [MindInsight related commands](https://www. ``` Wrong code: - ```python3 + ``` ... # Note: the 'ConfusionMatrixCallback' is user-defined, and it uses SummaryRecord to record data. confusion_callback = ConfusionMatrixCallback('./summary_dir1') diff --git a/tutorials/source_en/index.rst b/tutorials/source_en/index.rst index 074a8a1b813f6850363cabfca23aec9065b5f638..402105ab2f52de3703331d9673ca84876df5b5ae 100644 --- a/tutorials/source_en/index.rst +++ b/tutorials/source_en/index.rst @@ -51,6 +51,13 @@ MindSpore Tutorials advanced_use/graph_kernel_fusion advanced_use/quantization_aware +.. toctree:: + :glob: + :maxdepth: 1 + :caption: Inference Service + + advanced_use/serving + .. toctree:: :glob: :maxdepth: 1 diff --git a/tutorials/source_en/use/custom_operator.md b/tutorials/source_en/use/custom_operator.md index 7e58182b495e22cdc8cb8ae825ffb6ec0f5bf92f..2cbf651a5dfd97c44eb63621cfe492c46bd390bf 100644 --- a/tutorials/source_en/use/custom_operator.md +++ b/tutorials/source_en/use/custom_operator.md @@ -81,7 +81,7 @@ The entry function of an operator describes the internal process of compiling th 4. Call `cce_build_code` to compile and generate an operator binary file. > The input parameters of the entry function require the input information of each operator, output information of each operator, operator attributes (optional), and `kernel_name` (name of the generated operator binary file). The input and output information is encapsulated in dictionaries, including the input and output shape and dtype when the operator is called on the network. -For details about TBE operator development, visit the [TBE website]((https://support.huaweicloud.com/odevg-A800_3000_3010/atlaste_10_0063.html)). For details about how to debug and optimize the TBE operator, visit the [Mind Studio website](https://support.huaweicloud.com/usermanual-mindstudioc73/atlasmindstudio_02_0043.html). +For details about TBE operator development, visit the [TBE website](https://support.huaweicloud.com/odevg-A800_3000_3010/atlaste_10_0063.html). For details about how to debug and optimize the TBE operator, visit the [Mind Studio website](https://support.huaweicloud.com/usermanual-mindstudioc73/atlasmindstudio_02_0043.html). ### Registering the Operator Information diff --git a/tutorials/source_zh_cn/advanced_use/serving.md b/tutorials/source_zh_cn/advanced_use/serving.md index 37f24306f0976a5447337c2279e7ff456acb819d..43dc1c55895f27e3a4d7c46cf94d297b6e32b1d1 100644 --- a/tutorials/source_zh_cn/advanced_use/serving.md +++ b/tutorials/source_zh_cn/advanced_use/serving.md @@ -107,7 +107,8 @@ ms client received: ./ms_client --target=localhost:5500 ``` 显示如下返回值说明Serving服务已正确执行Add网络的推理。 - ```Compute [[1, 2], [3, 4]] + [[1, 2], [3, 4]] + ``` + Compute [[1, 2], [3, 4]] + [[1, 2], [3, 4]] Add result is 2 4 6 8 client received: RPC OK ``` diff --git a/tutorials/source_zh_cn/advanced_use/summary_record.md b/tutorials/source_zh_cn/advanced_use/summary_record.md index e76ff8e730246d65547f08a1bec986b74c4371fe..16c459c1800d0b9126fe7941dab15e7823bdd83f 100644 --- a/tutorials/source_zh_cn/advanced_use/summary_record.md +++ b/tutorials/source_zh_cn/advanced_use/summary_record.md @@ -346,7 +346,7 @@ mindinsight stop 自定义callback中如果使用 `SummaryRecord`,则其不能和 `SummaryCollector` 同时使用。 正确代码: - ```python3 + ``` ... summary_collector = SummaryCollector('./summary_dir') model.train(epoch=2, train_dataset, callbacks=[summary_collector]) @@ -356,7 +356,7 @@ mindinsight stop ``` 错误代码: - ```python3 + ``` ... summary_collector1 = SummaryCollector('./summary_dir1') summary_collector2 = SummaryCollector('./summary_dir2') @@ -364,7 +364,7 @@ mindinsight stop ``` 错误代码: - ```python3 + ``` ... # Note: the 'ConfusionMatrixCallback' is user-defined, and it uses SummaryRecord to record data. confusion_callback = ConfusionMatrixCallback('./summary_dir1')