#NEWLINE# def test_grad_gt( ) : #NEWLINE# #INDENT# x = float32 ( name = 'x' ) #NEWLINE# y = float32 ( name = 'y' ) #NEWLINE# z = ( x > y ) #NEWLINE# g = theano . gradient . grad ( z , y ) #NEWLINE# assert ( g . eval ( { #NEWLINE# #INDENT# y : 1.0 , #NEWLINE# #UNINDENT# } ) == 0.0 )