Hi,
I can’t reproduce this issue.
I guess there is something wrong in the way you create your network or in your test code. Indeed, with the CNN class that you gave, there is no child that contains fc_layer, it is directly there.
What does the following code give you?
import torch
from torch import nn

class CNN(nn.Module):
    def __init__(self):
        super(CNN,self).__init__()
        self.layer = nn.Sequential(
            nn.Conv2d(1,16,5,bias=False),
            nn.ReLU(),
            nn.Conv2d(16,32,5,bias=False),
            nn.ReLU(),
            nn.MaxPool2d(2,2),
            nn.Conv2d(32,64,5,bias=False),
            nn.ReLU(),
            nn.MaxPool2d(2,2),
        )
        self.fc_layer = nn.Sequential(
            nn.Linear(64*3*3,100,bias=False),
            nn.ReLU(),
            nn.Linear(100,10,bias=False),
        )

    def forward(self,x):
        out = self.layer(x)
        out = out.view(out.size(0),-1)
        out = self.fc_layer(out)

        return out

net = CNN()
print(net.fc_layer[0].bias)
print(net.fc_layer[2].bias)