i was custom sigmoid function with tempsigmoid
class TempSigmoid(nn.Module):
    def __init__(self):
        super(TempSigmoid, self).__init__() # writing super in python 2.7 (difference with python 3)
        #self.nd = nd
        global nd # define global variable in python
        nd = 3.0
  
    def forward(self,x):
        temp=nd/torch.log(torch.tensor(0.9))
        return torch.sigmoid(x/(temp)) 

But i think it doesn’t effect the outputs size, because when i checked by not using tempsigmoid its still the same size (14,8)