Difference between torch.nn and torch.nn.functional?

@PrajwalPrashanth …Hi Prashanth,

I would like to understand the difference between torch.nn & torch.nn.functional modules and also would like to know when to use the aforementioned functions ?

https://discuss.pytorch.org/t/what-is-the-difference-between-torch-nn-and-torch-nn-functional/33597/6 Here is the explanation from pytorch forum it self
Courtesy- @PrajwalPrashanth

1 Like