andresy/torch — pull request #74 by clementfarabet (2012-10-27 19:13:15+00:00)
Title: Faster reset for 'nn' modules.

Gents,

I modified all the reset() methods in 'nn' to use our new vectorial uniform/normal methods. These work on both CPU and GPU, and are much faster than the apply we currently have.

I didn't push it to the master right away because it probably produces different initializations for a a same seed. Is that OK for everyone?