#NEWLINE# def dnn_op( mode , subsample ) : #NEWLINE# #INDENT# def f( img , kern ) : #NEWLINE# #INDENT# return dnn_conv ( img , kern , border_mode = mode , conv_mode = 'cross' , subsample = subsample ) #NEWLINE# #UNINDENT# return subsample