!42703 modify format

Merge pull request !42703 from 俞涵/code_docs_0819
This commit is contained in:
i-robot 2022-09-23 02:37:32 +00:00 committed by Gitee
commit 7253f40ad3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
7 changed files with 22 additions and 23 deletions

View File

@ -1,9 +0,0 @@
mindspore.dataset.Dataset.add_sampler
=====================================
.. py:method:: mindspore.dataset.Dataset.add_sampler(new_sampler)
为当前数据集添加子采样器。
参数:
- **new_sampler** (Sampler) - 待添加的子采样器。

View File

@ -1,9 +0,0 @@
mindspore.dataset.Dataset.use_sampler
=====================================
.. py:method:: mindspore.dataset.Dataset.use_sampler(new_sampler)
替换当前数据集的最末子采样器,保持父采样器不变。
参数:
- **new_sampler** (Sampler) - 用于替换的新采样器。

View File

@ -0,0 +1,9 @@
mindspore.dataset.MappableDataset.add_sampler
==============================================
.. py:method:: mindspore.dataset.MappableDataset.add_sampler(new_sampler)
为当前数据集添加子采样器。
参数:
- **new_sampler** (Sampler) - 待添加的子采样器。

View File

@ -0,0 +1,9 @@
mindspore.dataset.MappableDataset.use_sampler
==============================================
.. py:method:: mindspore.dataset.MappableDataset.use_sampler(new_sampler)
替换当前数据集的最末子采样器,保持父采样器不变。
参数:
- **new_sampler** (Sampler) - 用于替换的新采样器。

View File

@ -87,10 +87,10 @@ mindspore.Tensor
mindspore.Tensor.round
mindspore.Tensor.sigmoid
mindspore.Tensor.sqrt
mindspore.Tensor.square
mindspore.Tensor.std
mindspore.Tensor.sub
mindspore.Tensor.svd
mindspore.Tensor.square
mindspore.Tensor.tan
mindspore.Tensor.tanh
mindspore.Tensor.var

View File

@ -90,10 +90,12 @@ Element-wise Methods
mindspore.Tensor.logit
mindspore.Tensor.pow
mindspore.Tensor.round
mindspore.Tensor.sigmoid
mindspore.Tensor.sqrt
mindspore.Tensor.std
mindspore.Tensor.sub
mindspore.Tensor.svd
mindspore.Tensor.square
mindspore.Tensor.tan
mindspore.Tensor.tanh
mindspore.Tensor.var
@ -200,6 +202,7 @@ Array Methods
mindspore.Tensor.itemsize
mindspore.Tensor.masked_fill
mindspore.Tensor.masked_select
mindspore.Tensor.minimum
mindspore.Tensor.nbytes
mindspore.Tensor.ndim
mindspore.Tensor.nonzero

View File

@ -187,9 +187,6 @@ Element-by-Element Operations
mindspore.ops.floor
mindspore.ops.floor_div
mindspore.ops.floor_mod
mindspore.ops.inplace_add
mindspore.ops.inplace_sub
mindspore.ops.inplace_update
mindspore.ops.inv
mindspore.ops.invert
mindspore.ops.lerp
@ -205,7 +202,6 @@ Element-by-Element Operations
mindspore.ops.neg
mindspore.ops.pow
mindspore.ops.round
mindspore.ops.selu
mindspore.ops.sin
mindspore.ops.sinh
mindspore.ops.sqrt