Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The number of non-linear layers in the network? #13

Open
wallykop opened this issue Mar 18, 2022 · 0 comments
Open

The number of non-linear layers in the network? #13

wallykop opened this issue Mar 18, 2022 · 0 comments

Comments

@wallykop
Copy link

Could you clarify, is there only 1 non-linear layer in your network architecture at the end?

As far as I understood, we are sequentially adding nn.Linear layers to the Sequential list, then, there rises a choice whether to add the activation function (in your Iris example (opened issue), you did not add any activation function, therefore, in fact the whole network is linear in fact). Is it the only non-linearity existing in the network?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant