mila-iqia / blocks

A Theano framework for building and training neural networks
Other
1.16k stars 351 forks source link

Bidirectional RNN : shared args and kwargs #586

Open sebastien-j opened 9 years ago

sebastien-j commented 9 years ago

Currently, the Bidirectional class uses the same positional and keywords arguments for its two children. As such, non-recurrent weights and biases will generally be shared between the two networks, which may be undesirable behaviour.

rizar commented 9 years ago

One option would be to add another application method that would for each input input and context context expect two inputs input_forward and input_backward and two contexts context_backward and context_forward respectively. Would that do the job, @sebastien-j ?