TensorDictBase.trunc#
- TensorDictBase.trunc_() Self#
Computes the
trunc()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 trunc() 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.