#NEWLINE# def get_deconv_outsize( size , k , s , p , cover_all = False ) : #NEWLINE# #INDENT# if cover_all : #NEWLINE# #INDENT# return ( ( ( ( ( s * ( size - 1 ) ) + k ) - cover_all ) + 1 ) - ( 2 * p ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( ( ( s * ( size - 1 ) ) + k ) - ( 2 * p ) )