lmjohns3 / theanets

Neural network toolkit for Python
http://theanets.rtfd.org
MIT License
328 stars 74 forks source link

Model-rng only for Regressor #112

Closed talpay closed 8 years ago

talpay commented 8 years ago

The new model-wide rng parameter is only propagated to graph.Network when using recurrent.Regressor and feedforward.Regressor. Classifiers and Autoencoders do not pass the parameter in their super-calls. At least it seems like it to me because both models give this error:

net = theanets.Autoencoder([784, args.features \ 2, 784], rng=42) TypeError: init() got an unexpected keyword argument 'rng'

lmjohns3 commented 8 years ago

Thanks for the report! Just released v0.7.2 with a fix.