Contents
ShardedNegativeSampler
Base class for sharded negative sampler.
str
Which entity to corrupt; “h”, “t”, “ht”
bool
Sample negatives per triple partition, instead of per triple
Sample negatives only from processing device
Generator
RNG