Hello
I’m trying to convert a fully - connected layer to a convolutional one. My framework pipeline consists of two modules , a featurizer and a classifier. The architecture of the classifier is a simple network as described above
self.clf = nn.Sequential(
nn.Linear(M, 32),
nn.LeakyReLU(0.2),
nn.Dropout(0.2),
nn.Linear(32, 16),
nn.LeakyReLU(0.2),
nn.Dropout(0.2),
nn.Linear(16, 2),
)
I did some research but I am a bit confused how to do the transofrmation. I want to use Conv1d instead of the FC layers.
Thank’s in Advance .