TensorDictBase.zero#
- TensorDictBase.zero_() Self#
Fills every leaf with zeros in place and returns
self.
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.
Fills every leaf with zeros in place and returns self.
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.