def __init__(self, inc=128, outc=128):
    super(gated_conv1x1, self).__init__()
    self.inp = int((inc / 2))
    self.oup = int((outc / 2))
    self.conv1x1_1 = nn.Conv2d(self.inp, self.oup, 1, 1, 0, bias=False)
    self.gate_1 = nn.Conv2d(self.inp, self.oup, 1, 1, 0, bias=True)
    self.conv1x1_2 = nn.Conv2d(self.inp, self.oup, 1, 1, 0, bias=False)
    self.gate_2 = nn.Conv2d(self.inp, self.oup, 1, 1, 0, bias=True)
def __init__(self, inc=128, outc=128):
    super(gated_conv1x1, self).__init__()
    self.inp = int((inc / 2))
    self.oup = int((outc / 2))
    self.conv1x1_1 = nn.Conv2d(self.inp, self.oup, 1, 1, 0, bias=False)
    self.gate_1 = nn.Conv2d(self.inp, self.oup, 1, 1, 0, bias=True)
    self.conv1x1_2 = nn.Conv2d(self.inp, self.oup, 1, 1, 0, bias=False)
    self.gate_2 = nn.Conv2d(self.inp, self.oup, 1, 1, 0, bias=True)