Franck Dernoncourt - 1 month ago 15x

Python Question

When was the

`filter_flip`

`theano.tensor.nnet.conv2d()`

My version (

`0.7.0.dev-8d3a67b73fda49350d9944c9a24fc9660131861c`

`File "/usr/local/lib/python2.7/dist-packages/theano/tensor/nnet/conv.py", 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

`filter_flip`

`theano.tensor.nnet.conv2d()`

Answer

It appears in version 0.8.0.

Note that in that release the implementation of `theano.tensor.nnet.conv2d()`

found in `theano/tensor/nnet/conv.py`

becomes deprecated and is replaced by the new implementation placed into `theano/tensor/nnet/__init__.py`

and `theano/tensor/nnet/abstract_conv.py`

.

Source (Stackoverflow)

Comments