title: Why for both linear regression and logistic regression torch.nn.Linear() is used?
body: <p>I noticed that when we construct neural network using pytorch, for creating layer with either linear or logistic regression <code>torch.nn.Linear()</code> is being used. Why is it so? Don't they have different functions?</p>