TransWikia.com

Is the first Linear layer in Pytorch considered as the input layer?

Data Science Asked on February 13, 2021

For example:

nn.Linear(100,50)

You have 100 input features and 50 outputs. Would this be considered as the input layer or already as a kind of second layer?

The problem: I don’t want to apply dropout to the input layer so I am not sure how should I look at this.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP