mindspore/docs/api/api_python/dataset/mindspore.dataset.Dataset.a...

7 lines
166 B
ReStructuredText
Raw Normal View History

2022-01-24 16:31:13 +08:00
.. py:method:: add_sampler(new_sampler)
2021-12-02 14:16:26 +08:00
2022-04-02 16:26:32 +08:00
为当前数据集添加子采样器。
2021-12-02 14:16:26 +08:00
2022-07-06 17:30:12 +08:00
参数:
- **new_sampler** (Sampler) - 待添加的子采样器。