Skip to content

Instantly share code, notes, and snippets.

@megha444
Created October 13, 2020 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save megha444/24f5f03f7a59b0db2fb3ed3b71992228 to your computer and use it in GitHub Desktop.
Save megha444/24f5f03f7a59b0db2fb3ed3b71992228 to your computer and use it in GitHub Desktop.
import theano
from theano import tensor
m = tensor.dscalar()
n = tensor.dscalar()
p = a + b
q = theano.function([m,n], p)
r = q(1.5, 2.5)
print (r)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment