TensorDictBase.grad#
- property TensorDictBase.grad: Any#
Returns a tensordict containing the .grad attributes of the leaf tensors.
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.
Returns a tensordict containing the .grad attributes of the leaf tensors.
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.