我正在尝试使用theano.tensor.shape_padaxis,如这里所示。我知道这个错误:
AttributeError:“模块”对象没有属性“shape_padaxis”
我正在使用python2.7和theano 0.7,其他的一切似乎都是正确的。
$ python
>>> import theano
>>> theano.version.version
'0.7.0'
>>> tensor = theano.tensor.tensor3()
>>> theano.tensor.shape_padright(tensor)
DimShuffle{0,1,2,x}.0
>>> theano.tensor.shape_padaxis(tensor,axis=0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'shape_padaxis'有人能复制吗?知道那是从哪来的吗?谢谢
发布于 2015-12-07 17:06:44
在谷歌集团中为theano用户获得了答案。
https://stackoverflow.com/questions/34122445
复制相似问题