dgl.contrib.sampling.dis_sampler.SamplerSender.signal

SamplerSender.signal(recv_id)[source]

When the samplling of each epoch is finished, users can invoke this API to tell SamplerReceiver that sampler has finished its job.

Parameters:recv_id (int) – receiver’s ID