Franck Dernoncourt Franck Dernoncourt - 1 year ago 86
Python Question

Theano: when was the filter_flip parameter for conv2d introduced? (TypeError: __init__() got an unexpected keyword argument 'filter_flip')

When was the

parameter for
introduced in Theano? (i.e., which is the minimum Theano version that supports it?)

My version (
) doesn't have it:

File "/usr/local/lib/python2.7/dist-packages/theano/tensor/nnet/", line 146, in conv2d
imshp=imshp, kshp=kshp, nkern=nkern, bsize=bsize, **kargs)
TypeError: __init__() got an unexpected keyword argument 'filter_flip'

Theano's change log doesn't mention
. The documentation for
doesn't mention the minimum required version.

Answer Source

It appears in version 0.8.0.

Note that in that release the implementation of theano.tensor.nnet.conv2d() found in theano/tensor/nnet/ becomes deprecated and is replaced by the new implementation placed into theano/tensor/nnet/ and theano/tensor/nnet/

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download