megengine.data.ReplacementSampler.scatter

ReplacementSampler.scatter(indices)

Scatter method is used for splitting indices into subset, each subset will be assigned to a rank. Indices are evenly splitted by default. If customized indices assignment method is needed, please rewrite this method.

返回类型

List