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

!1644 dataset: re-fix some format problem in take and split

Merge pull request !1644 from ms_yan/r0.3_doc
......@@ -1256,7 +1256,7 @@ class MappableDataset(SourceDataset):
1. Dataset should not be sharded if split is going to be called. Instead, create a
DistributedSampler and specify a split to shard after splitting. If dataset is
sharded after a split, it is strongly recommended to set the same seed in each instance
of execution, otherwise each shard may not be part of the same split (see Examples)
of execution, otherwise each shard may not be part of the same split (see Examples).
2. It is strongly recommended to not shuffle the dataset, but use randomize=True instead.
Shuffling the dataset may not be deterministic, which means the data in each split
will be different in each epoch. Furthermore, if sharding occurs after split, each
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册