.. py:method:: add_sampler(new_sampler) 为当前数据集对象添加采样器。 **参数:** - **new_sampler** (Sampler) :作用于当前数据集对象的采样器。