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)
이것은 내 프로그램입니다. 난 다음 error.can 사람이Theano 가져 오기 오류 : 이름 스택리스트를 가져올 수 없습니다.
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
나는 2.7.3 버전이 있습니다. – subha
감사합니다. 이 버전을 업데이트 할 수 없습니다. 업데이트 할 수 없습니다. – subha