def METHOD_NAME(m):
    if isinstance(m, nn.Conv2d):
        nn.init.xavier_uniform_(
            m.weight.data, gain=nn.init.calculate_gain('leaky_relu'))
        try:
            nn.init.xavier_uniform_(m.bias.data)
        except Exception:
            pass