def spatial_overlap_conv_3x3_stride_1(p):
    """
    This method computes the spatial overlap of 3x3 convolutional layer with stride 1 in terms of its input feature map's
    spatial overal value (p).
    """

    return (1 + (1-p) * (5-2*p))/(1+4 * (1-p) *(2-p))