Got another question that can't find guidelines from Theano document. Consider these two cases:
Case 1: a = T.dmatrix('a') b = T.dmatrix('b') c = T.dmatrix('c') y = T.pow(a,b)-c f = theano.function([a,b,c], y) f(np.reshape(np.ogrid[0:1:4j],(2,2)),np.reshape(np.ogrid[0:1:4j],(2,2)), np.reshape(np.ogrid[0:1:4j],(2,2))).cumsum() Case 2: a = T.dmatrix('a') b = T.dmatrix('b') c = T.dmatrix('c') y = T.pow(a,b)-c f = theano.function([a,b,c], y.cumsum()) f(np.reshape(np.ogrid[0:1:4j],(2,2)),np.reshape(np.ogrid[0:1:4j],(2,2)), np.reshape(np.ogrid[0:1:4j],(2,2))) These two functions have the same output. So it seems theano.function() can take any (???) Python built-in operators like cumsum()? What else functions can be blended inside theano.function(), like ufunc or customized functions? -- --- You received this message because you are subscribed to the Google Groups "theano-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.