besskge.batch_sampler
Classes for sampling batches of positive and negative triples for each processing device, according to the BESS distribution scheme.
Classes
|
Sample random indices (with replacement) from all triple partitions. |
|
At each call, sample triples with the same specified indices from all triple partitions, repeating triples in shorter ones to pad to the same length. |
|
Base class for sharded batch sampler. |