I am just learning to use PyTorch as a beginner. If anyone is familiar with PyTorch, would you tell me the difference between nn.Module
and nn.Sequential
?
My questions are
What is the advantage to use
nn.Module
instead ofnn.Sequential
?Which is regularly utilised to build the model?
How we should select
nn.Module
ornn.Sequential
?