TensorDictBase.copy#
- TensorDictBase.copy_(tensordict: T, non_blocking: bool = False) Self#
-
The non-blocking argument will be ignored and is just present for compatibility with
torch.Tensor.copy_().
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.