TensorDictBase.reciprocal#
- TensorDictBase.reciprocal_() Self#
Computes the
reciprocal()value of each element of the TensorDict in-place.
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.
Computes the reciprocal() value of each element of the TensorDict in-place.
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.