def forward(self, x):
    identity = x
    out = self.conv1(x)
    out = self.bn1(out)
    out = self.relu(out)
    out = zerocenter(out)
    out = self.conv2(out)
    out = self.bn2(out)
    if (self.downsample is not None):
        identity = self.downsample(x)
    out += identity
    out = self.relu(out)
    out = zerocenter(out)
    return out
def forward(self, x):
    identity = x
    out = self.conv1(x)
    out = self.bn1(out)
    out = self.relu(out)
    out = zerocenter(out)
    out = self.conv2(out)
    out = self.bn2(out)
    if (self.downsample is not None):
        identity = self.downsample(x)
    out += identity
    out = self.relu(out)
    out = zerocenter(out)
    return out