theano-rnn icon indicating copy to clipboard operation
theano-rnn copied to clipboard

error occur, when n_hidden=1

Open zzz2010 opened this issue 10 years ago • 0 comments

Hi, I found a exception below, when n_hidden=1 in rnn_minibatch.py . pls kindly let me know if you know how to solve it. thanks!

TypeError: Cannot convert Type TensorType(float64, 3D) (of Variable Subtensor{::int64}.0) into Type TensorType(float64, (False, False, True)). You can try to manually convert Subtensor{::int64}.0 into a TensorType(float64, (False, False, True)).

zzz2010 avatar Apr 13 '14 19:04 zzz2010