提交 94129eff 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!914 modify files in docs and tutorials

Merge pull request !914 from lvmingfu/master
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
......@@ -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')
......
......@@ -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
......
......@@ -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
......
......@@ -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
```
......
......@@ -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')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册