def conv1x1(layer_types, in_planes, out_planes, stride=1):
    """1x1 convolution"""
    return layer_types.Conv2d(in_planes, out_planes, kernel_size=1, stride=stride,
                           bias=False)