Rate this Page
★ ★ ★ ★ ★

TensorDictBase.asend#

async TensorDictBase.asend(dst: TensorDictPipe) → None#

Sends the content of a tensordict through a UCXX pipe (async).

Parameters:

dst (TensorDictPipe) – the pipe to send through.

See also

send() for the synchronous variant and torch.distributed-based transport.

Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.