TensorDictBase.tanh#
- TensorDictBase.tanh() Self#
Returns a new tensordict with
torch.tanh()applied to every leaf.
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.
Returns a new tensordict with torch.tanh() applied to every leaf.
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.