notebook.community
Edit and run
In [1]: import theano from theano import tensor as T
import theano from theano import tensor as T
In [2]: a = T.scalar() b = T.scalar() y = a * b multiply = theano.function(inputs=[a, b], outputs=y) print multiply(1, 2) #2 print multiply(3, 3) #9
a = T.scalar() b = T.scalar() y = a * b multiply = theano.function(inputs=[a, b], outputs=y) print multiply(1, 2) #2 print multiply(3, 3) #9
2.0 9.0