(inputs, kernel, downsample=False)
return output
maxpool_base
maxpool_base
maxpool_base
def maxpool_base(inputs, kernel, downsample=False):
    """
        maxpool_base
    """
    if downsample:
        filters = inputs.shape[1]
        output = layers.maxpool(inputs, kernel, (2, 2))
        output = layers.conv(output, filters * 2, (1, 1))
    else:
        output = layers.maxpool(inputs, kernel)
    return output
def maxpool_base ( inputs , kernel , downsample = False ) : if downsample : filters = inputs . shape [ 1 ] output = layers . maxpool ( inputs , kernel , ( 2 , 2 ) ) output = layers . conv ( output , filters * 2 , ( 1 , 1 ) ) else : output = layers . maxpool ( inputs , kernel ) return output