Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Modules in torch.nn
are internal implemented based on torch.nn.functional
.
Modules in torch.nn
are easier to use while torch.nn.functional
is more flexible.
It is recommended to …