#NEWLINE# def test_max_pooling_ignore_border_false( ) : #NEWLINE# #INDENT# x = tensor . tensor4 ( 'x' ) #NEWLINE# brick = MaxPooling ( ( 5 , 7 ) , ignore_border = False ) #NEWLINE# y = brick . apply ( x ) #NEWLINE# out = y . eval ( { #NEWLINE# #INDENT# x : numpy . zeros ( ( 4 , 6 , 12 , 15 ) , dtype = theano . config . floatX ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# assert ( out . shape == ( 4 , 6 , 3 , 3 ) )