def forward(self, x):
    m = torch.mean(torch.mean(x, dim=2, keepdim=True), dim=3, keepdim=True)
    m = m.view(m.size(0), (- 1))
    m = self.lin1(m)
    m = nn.ReLU()(m)
    m = self.lin2(m)
    m = nn.Sigmoid()(m)
    m = m.view(m.size(0), self.c, 1, 1)
    x = (m * x)
    return x
def forward(self, x):
    m = torch.mean(torch.mean(x, dim=2, keepdim=True), dim=3, keepdim=True)
    m = m.view(m.size(0), (- 1))
    m = self.lin1(m)
    m = nn.ReLU()(m)
    m = self.lin2(m)
    m = nn.Sigmoid()(m)
    m = m.view(m.size(0), self.c, 1, 1)
    x = (m * x)
    return x