# tensorplay.distributed.distributed_c10d.recv

Source: https://www.tensorplay.cn/docs/generated/tensorplay.distributed.distributed_c10d.recv.html

# tensorplay.distributed.distributed_c10d.recv

tensorplay.distributed.distributed_c10d.recv(tensor: TensorBase, src: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None) = None, group=None, tag: [int](https://docs.python.org/3/library/functions.html#int) = 0)[[source]](../_modules/tensorplay/distributed/distributed_c10d.html#recv)

Receives a tensor synchronously; returns the sender rank.
