from theano.tensor import stacklists, scalars, matrices
from theano import function
a, b, c, d = scalars('abcd')
X = stacklists([[a, b], [c, d]])
f = function([a, b, c, d], X)
f(1, 2, 3, 4)
这是我的程序。我收到以下错误。有人可以帮忙吗
ImportError Traceback (most recent call last)
<ipython-input-17-e4e1f4f75320> in <module>()
----> 1 from theano.tensor import stacklists, scalars, matrices
2 from theano import function
3 a, b, c, d = scalars('abcd')
4 X = stacklists([[a, b], [c, d]])
5 f = function([a, b, c, d], X)
ImportError: cannot import name stacklists