mlx.core.distributed.send#
- send(x: array, dst: int, *, group: Group | None = None, stream: None | Stream | Device = None) array#
Send an array from the current process to the process that has rank
dstin the group.- Parameters:
x (array) – Input array.
dst (int) – Rank of the destination process in the group.
group (Group) – The group of processes that will participate in the sned. If set to
Nonethe global group is used. Default:None.stream (Stream, optional) – Stream or device. Defaults to
Nonein which case the default stream of the default device is used.
- Returns:
An array identical to
xwhich when evaluated the send is performed.- Return type: