!37932 Fix dataset docs
Merge pull request !37932 from xiaotianci/code_docs_cn
This commit is contained in:
commit
9e54f148d6
|
@ -158,7 +158,7 @@
|
|||
- **offload** (bool, 可选) - 是否进行异构硬件加速,详情请阅读 `数据准备异构加速 <https://www.mindspore.cn/tutorials/experts/zh-CN/master/dataset/dataset_offload.html>`_ 。默认值:None。
|
||||
|
||||
.. note::
|
||||
- `operations` 参数主要接收 `mindspore.dataset` 模块中c_transforms、py_transforms算子,以及用户定义的Python函数(PyFuncs)。
|
||||
- `operations` 参数接收 `TensorOperation` 类型的数据处理操作,以及用户定义的Python函数(PyFuncs)。
|
||||
- 不要将 `mindspore.nn` 和 `mindspore.ops` 或其他的网络计算算子添加到 `operations` 中。
|
||||
|
||||
返回:
|
||||
|
|
|
@ -17,7 +17,7 @@ mindspore.dataset.transforms
|
|||
from mindspore.dataset.transforms import c_transforms
|
||||
from mindspore.dataset.transforms import py_transforms
|
||||
|
||||
更多详情请参考[通用数据处理与增强](https://www.mindspore.cn/tutorials/zh-CN/master/advanced/dataset/augment_common_data.html)。
|
||||
更多详情请参考 `通用数据处理与增强 <https://www.mindspore.cn/tutorials/zh-CN/master/advanced/dataset/augment_common_data.html>_`。
|
||||
|
||||
常用数据处理术语说明如下:
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ API样例中常用的导入模块如下:
|
|||
import mindspore.dataset.vision.py_transforms as py_vision
|
||||
from mindspore.dataset.transforms import c_transforms
|
||||
|
||||
更多详情请参考[图像数据加载与增强](https://www.mindspore.cn/tutorials/zh-CN/master/advanced/dataset/augment_image_data.html)。
|
||||
更多详情请参考 `图像数据加载与增强 <https://www.mindspore.cn/tutorials/zh-CN/master/advanced/dataset/augment_image_data.html>`_。
|
||||
|
||||
常用数据处理术语说明如下:
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@ Note: Legacy c_transforms and py_transforms are deprecated but can still be impo
|
|||
from mindspore.dataset.transforms import c_transforms
|
||||
from mindspore.dataset.transforms import py_transforms
|
||||
|
||||
See `Common Data Processing and Augmentation Tutorial
|
||||
<https://www.mindspore.cn/tutorials/en/master/advanced/dataset/augment_common_data.html>`_ for more details.
|
||||
See `Common Data Processing and Augmentation
|
||||
<https://www.mindspore.cn/tutorials/en/master/advanced/dataset/augment_common_data.html>`_ tutorial for more details.
|
||||
|
||||
Descriptions of common data processing terms are as follows:
|
||||
|
||||
|
|
|
@ -31,8 +31,8 @@ Note: Legacy c_transforms and py_transforms are deprecated but can still be impo
|
|||
import mindspore.dataset.vision.c_transforms as c_vision
|
||||
import mindspore.dataset.vision.py_transforms as py_vision
|
||||
|
||||
See `Image Data Processing and Augmentation Tutorial
|
||||
<https://www.mindspore.cn/tutorials/en/master/advanced/dataset/augment_image_data.html>`_ for more details.
|
||||
See `Image Data Processing and Augmentation
|
||||
<https://www.mindspore.cn/tutorials/en/master/advanced/dataset/augment_image_data.html>`_ tutorial for more details.
|
||||
|
||||
Descriptions of common data processing terms are as follows:
|
||||
|
||||
|
|
Loading…
Reference in New Issue