mila-iqia / blocks

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

Make .allocate() and .initialize() return self #1164

Open dwf opened 8 years ago

dwf commented 8 years ago

Particularly initialize(). This slight abuse of command-query separation would be pretty handy and I think we do it elsewhere in Blocks, though I can't really remember where.

dwf commented 8 years ago

Ah yes, SimpleExtension.add_condition does it.