title: What is difference between nn.Module and nn.Sequential
body: <p>I am just learning to use PyTorch as a beginner. If anyone is familiar with PyTorch, would you tell me the difference between <code>nn.Module</code> and <code>nn.Sequential</code>?</p>
  <p>My questions are</p>
  <ol>
  <li><p>What is the advantage to use <code>nn.Module</code> instead of <code>nn.Sequential</code>?</p>
  </li>
  <li><p>Which is regularly utilised to build the model?</p>
  </li>
  <li><p>How we should select <code>nn.Module</code> or <code>nn.Sequential</code>?</p>
  </li>
  </ol>