#NEWLINE# def test_givens( ) : #NEWLINE# #INDENT# data = numpy . float32 ( [ 1 , 2 , 3 , 4 ] ) #NEWLINE# x = f32sc ( data ) #NEWLINE# y = ( x ** 2 ) #NEWLINE# f = theano . function ( [ ] , y , givens = { #NEWLINE# #INDENT# x : ( x + 1 ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# f ( )