Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

What is difference between nn.Module and nn.Sequential

$
0
0

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

  1. What is the advantage to use nn.Module instead of nn.Sequential?

  2. Which is regularly utilised to build the model?

  3. How we should select nn.Module or nn.Sequential?


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>