TensorDictBase.detach#
- TensorDictBase.detach_() Self#
Detach the tensors in the tensordict in-place.
- Returns:
self.
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.
Detach the tensors in the tensordict in-place.
self.
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.