Hi~
For sigmoid, there’s torch.nn.Sigmoid to generate a instance of Sigmoid class, and torch.nn.functional.sigmoid function. I noticed another torch.sigmoid 1 function and some related topics (link1, link2).
However, for softmax function for example, there’s only torch.nn.Softmax 2 and torch.nn.functional.softmax 2, but no torch.softmax. I am confused and want to know what is the thinkings behind designing these. And are there other functions designed like this?
Thanks!