Hi,
I am trying to understand why sigmoid is a class in pytorch and not tanh.
Also can we directly use torch.tanh as an activation function or there is some better implementation of tanh as activation function in pytorch.