更新时间:2023-02-27 13:34:35
While I believe there's no conv1d
in theano, Lasagne (a neural network library on top of theano) has several implementations of Conv1D layer. Some are based on conv2d
function of theano with one of the dimensions equal to 1, some use single or multiple dot products. I would try all of them, may be a dot-product based ones will perform better than conv2d
with width=1
.
https://github.com/Lasagne/Lasagne/blob/master/lasagne/theano_extensions/conv.py