(convconfigs, data_size)
return data_size
Applies a list of [(k, d, s, p)...] to the given input size to obtain
    an output size.
Applies a list of [(k, d, s, p)...] to the given input size to obtain
    an output size.
Applies a list of [ ( k d s p ) ... ] to the given input size to obtain an output size .
def convconfig_data_size(convconfigs, data_size):
    '''Applies a list of [(k, d, s, p)...] to the given input size to obtain
    an output size.
    '''
    for kernel, dilation, stride, padding in convconfigs:
        data_size = (1 + (data_size + 2 * padding
            - dilation * (kernel - 1) - 1) // stride)
    return data_size
def convconfig_data_size ( convconfigs , data_size ) : for kernel , dilation , stride , padding in convconfigs : data_size = ( 1 + ( data_size + 2 * padding - dilation * ( kernel - 1 ) - 1 ) // stride ) return data_size