def METHOD_NAME(x, scale_factor=2, mode='bilinear', align_corners=False):
    """Upsample input tensor by a factor of 2
    """
    return F.interpolate(
        x, scale_factor=scale_factor, mode=mode, align_corners=align_corners)