From c84a6d078b43533261fb6517928f51d7a343b511 Mon Sep 17 00:00:00 2001 From: xumengjuan1 Date: Fri, 25 Feb 2022 10:40:32 +0800 Subject: [PATCH] modify api format --- .../mindspore.dataset.text.JiebaMode.rst | 2 +- .../mindspore.dataset.text.NormalizeForm.rst | 2 +- .../mindspore.dataset.text.SentencePieceModel.rst | 2 +- docs/api/api_python/mindspore.parallel.rst | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/api/api_python/dataset_text/mindspore.dataset.text.JiebaMode.rst b/docs/api/api_python/dataset_text/mindspore.dataset.text.JiebaMode.rst index 8a7e8385e1c..31220bb694d 100644 --- a/docs/api/api_python/dataset_text/mindspore.dataset.text.JiebaMode.rst +++ b/docs/api/api_python/dataset_text/mindspore.dataset.text.JiebaMode.rst @@ -1,7 +1,7 @@ mindspore.dataset.text.JiebaMode ================================= -.. py::class:: mindspore.dataset.text.JiebaMode(value, names=None, *, module=None, qualname=None, type=None, start=1) +.. py:class:: mindspore.dataset.text.JiebaMode(value, names=None, *, module=None, qualname=None, type=None, start=1) :class:`JiebaTokenizer` 的枚举值。 diff --git a/docs/api/api_python/dataset_text/mindspore.dataset.text.NormalizeForm.rst b/docs/api/api_python/dataset_text/mindspore.dataset.text.NormalizeForm.rst index 58215bd76bc..888eae5ed34 100644 --- a/docs/api/api_python/dataset_text/mindspore.dataset.text.NormalizeForm.rst +++ b/docs/api/api_python/dataset_text/mindspore.dataset.text.NormalizeForm.rst @@ -1,7 +1,7 @@ mindspore.dataset.text.NormalizeForm ===================================== -.. py::class:: mindspore.dataset.text.NormalizeForm(value, names=None, *, module=None, qualname=None, type=None, start=1) +.. py:class:: mindspore.dataset.text.NormalizeForm(value, names=None, *, module=None, qualname=None, type=None, start=1) :class:`NormalizeUTF8` 的枚举值。 diff --git a/docs/api/api_python/dataset_text/mindspore.dataset.text.SentencePieceModel.rst b/docs/api/api_python/dataset_text/mindspore.dataset.text.SentencePieceModel.rst index d74907bac8a..1054cc90d3b 100644 --- a/docs/api/api_python/dataset_text/mindspore.dataset.text.SentencePieceModel.rst +++ b/docs/api/api_python/dataset_text/mindspore.dataset.text.SentencePieceModel.rst @@ -1,7 +1,7 @@ mindspore.dataset.text.SentencePieceModel ========================================== -.. py::class:: mindspore.dataset.text.SentencePieceModel(value, names=None, *, module=None, qualname=None, type=None, start=1) +.. py:class:: mindspore.dataset.text.SentencePieceModel(value, names=None, *, module=None, qualname=None, type=None, start=1) `SentencePiece` 分词方法的枚举类。 diff --git a/docs/api/api_python/mindspore.parallel.rst b/docs/api/api_python/mindspore.parallel.rst index e08e83fb803..7c5b3de966b 100644 --- a/docs/api/api_python/mindspore.parallel.rst +++ b/docs/api/api_python/mindspore.parallel.rst @@ -32,12 +32,12 @@ 重置后,属性值为: - --fully_use_devices:True - --elementwise_op_strategy_follow:False - --enable_algo_approxi:False - --algo_approxi_epsilon:0.1 - --tensor_slice_align_enable:False - --tensor_slice_align_size:16 + - fully_use_devices:True + - elementwise_op_strategy_follow:False + - enable_algo_approxi:False + - algo_approxi_epsilon:0.1 + - tensor_slice_align_enable:False + - tensor_slice_align_size:16 .. py:function:: set_algo_parameters(**kwargs)