#NEWLINE# def make_node( self , x , y ) : #NEWLINE# #INDENT# x = theano . tensor . as_tensor_variable ( x ) #NEWLINE# y = theano . tensor . as_tensor_variable ( y ) #NEWLINE# outdim = x . ndim #NEWLINE# output = theano . tensor . TensorType ( dtype = theano . scalar . upcast ( x . dtype , y . dtype ) , broadcastable = ( [ False ] * outdim ) ) ( ) #NEWLINE# return theano . Apply ( self , inputs = [ x , y ] , outputs = [ output ] )