def forward(self, x):
    x_1 = x[:, :self.inp, :, :]
    x_2 = x[:, self.inp:, :, :]
    a_1 = self.conv1x1_1(x_1)
    g_1 = F.sigmoid(self.gate_1(x_1))
    a_2 = self.conv1x1_2(x_2)
    g_2 = F.sigmoid(self.gate_2(x_2))
    ret = torch.cat(((a_1 * g_1), (a_2 * g_2)), 1)
    return ret
def forward(self, x):
    x_1 = x[:, :self.inp, :, :]
    x_2 = x[:, self.inp:, :, :]
    a_1 = self.conv1x1_1(x_1)
    g_1 = F.sigmoid(self.gate_1(x_1))
    a_2 = self.conv1x1_2(x_2)
    g_2 = F.sigmoid(self.gate_2(x_2))
    ret = torch.cat(((a_1 * g_1), (a_2 * g_2)), 1)
    return ret