#NEWLINE# def test_grad( self ) : #NEWLINE# #INDENT# for ndim in range ( 3 ) : #NEWLINE# #INDENT# a = np . random . random ( ( ( 10 , ) * ndim ) ) . astype ( config . floatX ) #NEWLINE# for axis in self . _possible_axis ( ndim ) : #NEWLINE# #INDENT# utt . verify_grad ( ( lambda x : RepeatOp ( axis = axis ) ( x , 3 ) ) , [ a ] )