utils.samplers.multipack
utils.samplers.multipack
Multipack Batch Sampler
Classes
Name | Description |
---|---|
MultipackBatchSampler | Batch sampler class for multipack |
MultipackBatchSampler
utils.samplers.multipack.MultipackBatchSampler(self,
sampler,
batch_size,
batch_max_len,
lengths,=1.0,
packing_efficiency_estimate=False,
drop_last=16,
num_count_samples**kwargs,
)
Batch sampler class for multipack